Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a716aac authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

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: default avatarIlya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
parent bc1ecc65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;