Thread (101 messages) 101 messages, 11 authors, 2022-11-11

Re: [PATCH 10/17] btrfs: remove stripe boundary calculation for compressed I/O

From: Josef Bacik <josef@toxicpanda.com>
Date: 2022-09-07 21:07:30
Also in: linux-btrfs, linux-fsdevel

On Thu, Sep 01, 2022 at 10:42:09AM +0300, Christoph Hellwig wrote:
From: Qu Wenruo <redacted>

Stop looking at the stripe boundary in alloc_compressed_bio() now that
that btrfs_submit_bio can split bios, open code the now trivial code
from alloc_compressed_bio() in btrfs_submit_compressed_read and stop
maintaining the pending_ios count for reads as there is always just
a single bio now.

Signed-off-by: Qu Wenruo <redacted>
[hch: remove more cruft in btrfs_submit_compressed_read]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>

Thanks,

Josef
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help