Support for GFP_NO{FS,IO} and __GFP_NOFAIL has been implemented by previous patches so we can allow the support for kvmalloc. This will allow some external users to simplify or completely remove their helpers. GFP_NOWAIT semantic hasn't been supported so far but it hasn't been explicitly documented so let's add a note about that. ceph_kvmalloc is the first helper to be dropped and changed to kvmalloc.
Showing the changes to include/linux/ceph (1 of 8 files). Show all
Unified · Split
| @@ -295,7 +295,6 @@ extern bool libceph_compatible(void *data); · 294 unmodified lines | |||
| 295 | 295 | ||
| 296 | extern const char *ceph_msg_type_name(int type); | 296 | extern const char *ceph_msg_type_name(int type); |
| 297 | extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid); | 297 | extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid); |
| 298 | extern void *ceph_kvmalloc(size_t size, gfp_t flags); | ||
| 299 | 298 | ||
| 300 | struct fs_parameter; | 299 | struct fs_parameter; |
| 301 | struct fc_log; | 300 | struct fc_log; |