Message ID | cover.1701706418.git.fdmanana@suse.com (mailing list archive) |
---|---|
Headers | show |
Series | btrfs: some cleanups and optimizations for extent maps | expand |
On Mon, Dec 04, 2023 at 04:20:22PM +0000, fdmanana@kernel.org wrote: > From: Filipe Manana <fdmanana@suse.com> > > These do some cleanups around extent maps and their tests, as well as > some optimizations. These are part of a larger work around extent maps, > but as they are fairly independent and the remainder will take a longer > while, sending these out separately. More details on the change logs. > > Filipe Manana (11): > btrfs: assert extent map is not in a list when setting it up > btrfs: tests: fix error messages for test case 4 of extent map tests > btrfs: tests: do not ignore NULL extent maps for extent maps tests > btrfs: tests: print all values as decimal in messages for extent map tests > btrfs: unexport add_extent_mapping() > btrfs: remove redundant value assignment at btrfs_add_extent_mapping() > btrfs: log messages at unpin_extent_range() during unexpected cases > btrfs: avoid useless rbtree iterations when attempting to merge extent map > btrfs: make extent_map_end() argument const > btrfs: refactor mergable_maps() for more readability > btrfs: use the flags of an extent map to identify the compression type Added to misc-next, thanks.
From: Filipe Manana <fdmanana@suse.com> These do some cleanups around extent maps and their tests, as well as some optimizations. These are part of a larger work around extent maps, but as they are fairly independent and the remainder will take a longer while, sending these out separately. More details on the change logs. Filipe Manana (11): btrfs: assert extent map is not in a list when setting it up btrfs: tests: fix error messages for test case 4 of extent map tests btrfs: tests: do not ignore NULL extent maps for extent maps tests btrfs: tests: print all values as decimal in messages for extent map tests btrfs: unexport add_extent_mapping() btrfs: remove redundant value assignment at btrfs_add_extent_mapping() btrfs: log messages at unpin_extent_range() during unexpected cases btrfs: avoid useless rbtree iterations when attempting to merge extent map btrfs: make extent_map_end() argument const btrfs: refactor mergable_maps() for more readability btrfs: use the flags of an extent map to identify the compression type fs/btrfs/compression.c | 4 +- fs/btrfs/defrag.c | 8 +- fs/btrfs/extent_io.c | 13 ++- fs/btrfs/extent_map.c | 139 ++++++++++++++++-------------- fs/btrfs/extent_map.h | 64 +++++++++++--- fs/btrfs/file-item.c | 9 +- fs/btrfs/file.c | 10 +-- fs/btrfs/inode.c | 35 ++++---- fs/btrfs/relocation.c | 2 +- fs/btrfs/tests/extent-map-tests.c | 103 +++++++++++++--------- fs/btrfs/tests/inode-tests.c | 60 ++++++------- fs/btrfs/tree-log.c | 16 ++-- include/trace/events/btrfs.h | 21 +++-- 13 files changed, 272 insertions(+), 212 deletions(-)