From: Ilya Dryomov Date: Tue, 5 Aug 2014 07:25:54 +0000 (+0400) Subject: rbd: allocate img_request with GFP_NOIO instead GFP_ATOMIC X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7a716aac01eedb8a7ebf36a0e81237c56f9f1bc1;p=linux.git 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 Reviewed-by: Alex Elder --- diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 4515b128d0b48..a5ebcf28e0412 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c @@ -2061,7 +2061,7 @@ static struct rbd_img_request *rbd_img_request_create( { struct rbd_img_request *img_request; - img_request = kmem_cache_alloc(rbd_img_request_cache, GFP_ATOMIC); + img_request = kmem_cache_alloc(rbd_img_request_cache, GFP_NOIO); if (!img_request) return NULL;