Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rbd: allocate img_request with GFP_NOIO instead GFP_ATOMIC

Now that rbd_img_request_create() is called from work functions, no
need to use GFP_ATOMIC.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>

+1 -1
+1 -1
drivers/block/rbd.c
··· 2061 2061 { 2062 2062 struct rbd_img_request *img_request; 2063 2063 2064 - img_request = kmem_cache_alloc(rbd_img_request_cache, GFP_ATOMIC); 2064 + img_request = kmem_cache_alloc(rbd_img_request_cache, GFP_NOIO); 2065 2065 if (!img_request) 2066 2066 return NULL; 2067 2067