From: Alex Elder <elder@ieee.org>
To: Ilya Dryomov <ilya.dryomov@inktank.com>, ceph-devel@vger.kernel.org
Subject: Re: [PATCH] rbd: allocate img_request with GFP_NOIO instead GFP_ATOMIC
Date: Thu, 07 Aug 2014 06:51:48 -0500 [thread overview]
Message-ID: <53E36854.8020501@ieee.org> (raw)
In-Reply-To: <1407404411-4928-1-git-send-email-ilya.dryomov@inktank.com>
On 08/07/2014 04:40 AM, Ilya Dryomov wrote:
> 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>
Looks good.
Reviewed-by: Alex Elder <elder@linaro.org>
> ---
> drivers/block/rbd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c
> index 4515b128d0b4..a5ebcf28e041 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;
>
>
prev parent reply other threads:[~2014-08-07 11:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-07 9:40 [PATCH] rbd: allocate img_request with GFP_NOIO instead GFP_ATOMIC Ilya Dryomov
2014-08-07 11:51 ` Alex Elder [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53E36854.8020501@ieee.org \
--to=elder@ieee.org \
--cc=ceph-devel@vger.kernel.org \
--cc=ilya.dryomov@inktank.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.