aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compression.h
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2021-07-26 06:34:52 +0000
committerDavid Sterba <[email protected]>2021-08-23 11:19:04 +0000
commitca62e85ded2c02f5e5d469103f2a5b6b09883dcc (patch)
tree6c1dea91479593ff246e6e14bc383eb1906523c8 /fs/btrfs/compression.h
parentbtrfs: subpage: check if there are compressed extents inside one page (diff)
downloadkernel-ca62e85ded2c02f5e5d469103f2a5b6b09883dcc.tar.gz
kernel-ca62e85ded2c02f5e5d469103f2a5b6b09883dcc.zip
btrfs: disable compressed readahead for subpage
For current subpage support, we only support 64K page size with 4K sector size. This makes compressed readahead less effective, as maximum compressed extent size is only 128K, 2x the page size. On the other hand, the function add_ra_bio_pages() is still assuming sectorsize == PAGE_SIZE, and code change may affect 4K page size systems. So for now, let's disable subpage compressed readahead for now. Signed-off-by: Qu Wenruo <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/compression.h')
0 files changed, 0 insertions, 0 deletions