diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-08-05 11:25:54 +0400 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-08-07 16:00:52 +0400 |
commit | 7a716aac01eedb8a7ebf36a0e81237c56f9f1bc1 (patch) | |
tree | 372bce9818d6de669b70e754161576d27a1d6428 /drivers/block | |
parent | bc1ecc65a259fa9333dc8bd6a4ba0cf03b7d4bf8 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 4515b128d0b..a5ebcf28e04 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; |