summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-08-05 07:25:54 (GMT)
committerIlya Dryomov <ilya.dryomov@inktank.com>2014-08-07 12:00:52 (GMT)
commit7a716aac01eedb8a7ebf36a0e81237c56f9f1bc1 (patch)
tree372bce9818d6de669b70e754161576d27a1d6428 /drivers/block
parentbc1ecc65a259fa9333dc8bd6a4ba0cf03b7d4bf8 (diff)
downloadlinux-7a716aac01eedb8a7ebf36a0e81237c56f9f1bc1.tar.xz
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>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/rbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c
index 4515b12..a5ebcf2 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;