On Thu, Sep 01, 2022 at 10:42:09AM +0300, Christoph Hellwig wrote: > From: Qu Wenruo <wqu@xxxxxxxx> > > 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 <wqu@xxxxxxxx> > [hch: remove more cruft in btrfs_submit_compressed_read] > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx> Thanks, Josef