btrfs: properly enable compressed readahead for bs < ps and large folio cases
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: enable cross-folio readahead for bs < ps and large folio casesfs/ | +6 | 3 replies | |
| 2/2 | btrfs: refresh add_ra_bio_pages() to indicate it's using foliosfs/ | +20 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] btrfs: properly enable compressed readahead for bs < ps and large folio cases
Compressed data readahead is disabled for bs < ps cases, but it has never taken large folios into the consideration.
And that unexpectedly enables compressed data readahead for large folios, which should go through the same subpage routine.
This means for real bs < ps cases compressed data read is disabled, but still enabled for bs == ps with large folios.
This small series will properly enable the compressed readahead for both bs < ps and large folios cases, mostly by simply remove the unnecessary checks.
Then since we're here, also update the function name and comments to reflect that we're already using folio interface, not the old page interface.
Qu Wenruo (2):
btrfs: enable cross-folio readahead for bs < ps and large folio cases
btrfs: refresh add_ra_bio_pages() to indicate it's using folios
fs/btrfs/compression.c | 67 +++++++++++++++--------------------------- 1 file changed, 24 insertions(+), 43 deletions(-)
Signature · 1 line
2.53.0