Re: [PATCH] btrfs: use ordered extent to grab the logical address for submission
Johannes Thumshirn <[email protected]> Fri, 24 Jul 2026 08:08:57 +0200
| Newsgroups | org.kernel.vger.linux-btrfs |
|---|---|
| Message-ID | <[email protected]> |
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()?