summaryrefslogtreecommitdiff
path: root/fs/btrfs/compression.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2024-01-29 20:16:08 +1030
committerDavid Sterba <dsterba@suse.com>2024-05-07 21:31:02 +0200
commiteb1fa9ab470285d39bee268bc2a90d1786610711 (patch)
tree6dedd2286796c8f3fc83a66707125b6f5773f356 /fs/btrfs/compression.h
parent98fe01af7ebe44bcc11afe4b4d681e27b959adb4 (diff)
btrfs: make insert_inline_extent() accept one page directly
Since our inline extent cannot accept anything larger than a sector, there is really no need to pass all the compressed pages to insert_inline_extent(). And just in case, expand the ASSERT()s to make sure we only try inline with compressed size no larger than sectorsize. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.h')
0 files changed, 0 insertions, 0 deletions