From: Qianfeng Rong <rongqianfeng@vivo.com>
To: Coly Li <colyli@kernel.org>
Cc: Kent Overstreet <kent.overstreet@linux.dev>,
"open list:BCACHE (BLOCK LAYER CACHE)"
<linux-bcache@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/3] bcache: remove redundant __GFP_NOWARN
Date: Mon, 11 Aug 2025 21:46:50 +0800 [thread overview]
Message-ID: <ae3417a3-c3df-4c6e-8a27-2ba71eb1e53b@vivo.com> (raw)
In-Reply-To: <xgpbwq3j3hlowxo2efk46rzdku6ueevgxl6cb5baqgyqanwtzv@e72yn2apzqrd>
在 2025/8/11 21:22, Coly Li 写道:
> On Mon, Aug 11, 2025 at 08:36:35PM +0800, Qianfeng Rong wrote:
>> GFP_NOWAIT already includes __GFP_NOWARN, so let's remove the redundant
>> __GFP_NOWARN.
>>
>> Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
> Acked-by: Coly Li <colyli@kernel.org>
>
> Do you want this patch to go upstream in my submission path?
Yes, please include this patch in your submission path to upstream.
Thank you for your review and Acked-by tag.
Best regards,
Qianfeng
>
> Thanks.
>
> Coly Li
>
>> ---
>> drivers/md/bcache/btree.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c
>> index 210b59007d98..a764ec149d7a 100644
>> --- a/drivers/md/bcache/btree.c
>> +++ b/drivers/md/bcache/btree.c
>> @@ -371,7 +371,7 @@ static void do_btree_node_write(struct btree *b)
>> SET_PTR_OFFSET(&k.key, 0, PTR_OFFSET(&k.key, 0) +
>> bset_sector_offset(&b->keys, i));
>>
>> - if (!bch_bio_alloc_pages(b->bio, __GFP_NOWARN|GFP_NOWAIT)) {
>> + if (!bch_bio_alloc_pages(b->bio, GFP_NOWAIT)) {
>> struct bio_vec *bv;
>> void *addr = (void *) ((unsigned long) i & ~(PAGE_SIZE - 1));
>> struct bvec_iter_all iter_all;
>> --
>> 2.34.1
>>
next prev parent reply other threads:[~2025-08-11 13:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-11 12:36 [PATCH 0/3] md: " Qianfeng Rong
2025-08-11 12:36 ` [PATCH 1/3] bcache: " Qianfeng Rong
2025-08-11 13:22 ` Coly Li
2025-08-11 13:46 ` Qianfeng Rong [this message]
2025-08-11 12:36 ` [PATCH 2/3] dm bufio: " Qianfeng Rong
2025-08-11 12:44 ` Mikulas Patocka
2025-08-11 12:58 ` Qianfeng Rong
2025-08-11 15:10 ` Mikulas Patocka
2025-08-12 2:18 ` Qianfeng Rong
2025-08-11 12:36 ` [PATCH 3/3] md/raid5: " Qianfeng Rong
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=ae3417a3-c3df-4c6e-8a27-2ba71eb1e53b@vivo.com \
--to=rongqianfeng@vivo.com \
--cc=colyli@kernel.org \
--cc=kent.overstreet@linux.dev \
--cc=linux-bcache@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®