Re: [PATCH 8/9] btrfs: make btrfs_submit_compressed_read() to determine stripe boundary at bio allocation time
From: Johannes Thumshirn <hidden>
Date: 2021-06-11 08:19:05
From: Johannes Thumshirn <hidden>
Date: 2021-06-11 08:19:05
On 11/06/2021 10:16, Qu Wenruo wrote:
Did you mean that for the bio_add_zone_append_page(), it may return less bytes than we expected? Even if our compressed write is ensured to be smaller than 128K?
No it either adds the number of requested pages or it fails (I think there's and effort going on to make bio_add_page() and friends return bool so this is less confusing).