Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: Johannes Thumshirn <johannes.thumshirn@wdc.com>,
	Qu Wenruo <wqu@suse.com>,
	linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] btrfs: use ordered extent to grab the logical address for submission
Date: Fri, 24 Jul 2026 15:48:49 +0930	[thread overview]
Message-ID: <05a230f8-63c5-4f12-8397-952ec4c1849d@gmx.com> (raw)
In-Reply-To: <a391c628-dfb3-4eab-b9cf-5e5bb1931c7e@wdc.com>



在 2026/7/24 15:38, Johannes Thumshirn 写道:
> On 7/24/26 6:47 AM, Qu Wenruo wrote:
>> +    /* Try to reuse the existing OE from bbio first. */
>> +    if (bio_ctrl->bbio && bio_ctrl->bbio->ordered &&
>> +        filepos >= bio_ctrl->bbio->ordered->file_offset &&
>> +        filepos < bio_ctrl->bbio->ordered->file_offset +
>> +              bio_ctrl->bbio->ordered->num_bytes) {
> 
> Nit: in_range()?
> 
> 
Thanks, I'll use in_range() in the next update.

If there is no other problems, I'll do the change during merge.

Thanks,
Qu

      reply	other threads:[~2026-07-24  6:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-24  4:47 [PATCH] btrfs: use ordered extent to grab the logical address for submission Qu Wenruo
2026-07-24  6:08 ` Johannes Thumshirn
2026-07-24  6:18   ` Qu Wenruo [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=05a230f8-63c5-4f12-8397-952ec4c1849d@gmx.com \
    --to=quwenruo.btrfs@gmx.com \
    --cc=johannes.thumshirn@wdc.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=wqu@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox