btrfs: some cleanups for extent-io-tree (mostly renames)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | btrfs: remove extent_io_tree_to_inode() and is_inode_io_tree()fs/ fs/ | +16 | 1 reply | |
| 2/16 | btrfs: add btrfs prefix to trace events for extent state alloc and freefs/ include/ | +4 | 0 replies | |
| 3/16 | btrfs: add btrfs prefix to main lock, try lock and unlock extent functionsfs/ fs/ fs/ +13 more | +152 | 0 replies | |
| 4/16 | btrfs: add btrfs prefix to dio lock and unlock extent functionsfs/ fs/ | +17 | 0 replies | |
| 5/16 | btrfs: rename __lock_extent() and __try_lock_extent()fs/ fs/ fs/ | +15 | 0 replies | |
| 6/16 | btrfs: rename the functions to clear bits for an extent rangefs/ fs/ fs/ +16 more | +112 | 0 replies | |
| 7/16 | btrfs: rename set_extent_bit() to include a btrfs prefixfs/ fs/ fs/ +8 more | +57 | 0 replies | |
| 8/16 | btrfs: rename the functions to search for bits in extent rangesfs/ fs/ fs/ +9 more | +59 | 0 replies | |
| 9/16 | btrfs: rename the functions to get inode and fs_info from an extent io treefs/ fs/ include/ | +13 | 0 replies | |
| 10/16 | btrfs: directly grab inode at __btrfs_debug_check_extent_io_range()fs/ | +1 | 0 replies | |
| 11/16 | btrfs: rename the functions to init and release an extent io treefs/ fs/ fs/ +7 more | +33 | 0 replies | |
| 12/16 | btrfs: rename the functions to count, test and get bit ranges in io treesfs/ fs/ fs/ +4 more | +38 | 0 replies | |
| 13/16 | btrfs: rename free_extent_state() to include a btrfs prefixfs/ fs/ fs/ +6 more | +28 | 0 replies | |
| 14/16 | btrfs: rename remaining exported functions from extent-io-tree.hfs/ fs/ fs/ +2 more | +37 | 0 replies | |
| 15/16 | btrfs: remove double underscore prefix from __set_extent_bit()fs/ | +13 | 0 replies | |
| 16/16 | btrfs: make btrfs_find_contiguous_extent_bit() return bool instead of intfs/ fs/ fs/ | +13 | 0 replies |
Reviews trailers per patch
None of the 16 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | David Sterba | Johannes Thumshirn |
|---|---|---|
| Series | R-b | R-b |
| 1/16 | ||
| 2/16 | ||
| 3/16 | ||
| 4/16 | ||
| 5/16 | ||
| 6/16 | ||
| 7/16 | ||
| 8/16 | ||
| 9/16 | ||
| 10/16 | ||
| 11/16 | ||
| 12/16 | ||
| 13/16 | ||
| 14/16 | ||
| 15/16 | ||
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/16] btrfs: some cleanups for extent-io-tree (mostly renames)
From: Filipe Manana <[email protected]>
These are mostly to rename exported functions so that they have a 'btrfs_' prefix and follow coding style, to avoid potential clashes in the future with other kernel functions defined elsewhere outside btrfs. As more functions are added to extent-io-tree.h, there's a tendency to follow the existing style and not add a 'btrfs_' prefix for consistency with the other function names, so as time passes we get more exported functions that don't follow the coding style by missing a 'btrfs_' prefix. I'm in the process of adding another new exported function to extent-io-tree.h and found my self unconfortable adding a 'btrfs_' prefix to it while the other exported functions don't have one.
I tried to split the rename into several and more reasonably sized patches to make it easier to review and also because a few do a bit more than simply renaming, but with notes in the change logs.
Filipe Manana (16):
btrfs: remove extent_io_tree_to_inode() and is_inode_io_tree()
btrfs: add btrfs prefix to trace events for extent state alloc and free
btrfs: add btrfs prefix to main lock, try lock and unlock extent functions
btrfs: add btrfs prefix to dio lock and unlock extent functions
btrfs: rename __lock_extent() and __try_lock_extent()
btrfs: rename the functions to clear bits for an extent range
btrfs: rename set_extent_bit() to include a btrfs prefix
btrfs: rename the functions to search for bits in extent ranges
btrfs: rename the functions to get inode and fs_info from an extent io tree
btrfs: directly grab inode at __btrfs_debug_check_extent_io_range()
btrfs: rename the functions to init and release an extent io tree
btrfs: rename the functions to count, test and get bit ranges in io trees
btrfs: rename free_extent_state() to include a btrfs prefix
btrfs: rename remaining exported functions from extent-io-tree.h
btrfs: remove double underscore prefix from __set_extent_bit()
btrfs: make btrfs_find_contiguous_extent_bit() return bool instead of int
fs/btrfs/block-group.c | 34 ++--- fs/btrfs/compression.c | 6 +- fs/btrfs/defrag.c | 36 ++--- fs/btrfs/dev-replace.c | 12 +- fs/btrfs/direct-io.c | 38 +++--- fs/btrfs/disk-io.c | 35 ++--- fs/btrfs/extent-io-tree.c | 218 ++++++++++++++----------------- fs/btrfs/extent-io-tree.h | 155 +++++++++++----------- fs/btrfs/extent-tree.c | 38 +++--- fs/btrfs/extent_io.c | 40 +++--- fs/btrfs/extent_map.c | 4 +- fs/btrfs/fiemap.c | 6 +- fs/btrfs/file-item.c | 22 ++-- fs/btrfs/file.c | 87 ++++++------ fs/btrfs/free-space-cache.c | 36 ++--- fs/btrfs/inode.c | 167 +++++++++++------------ fs/btrfs/ioctl.c | 8 +- fs/btrfs/ordered-data.c | 8 +- fs/btrfs/qgroup.c | 30 +++-- fs/btrfs/reflink.c | 12 +- fs/btrfs/relocation.c | 61 ++++----- fs/btrfs/super.c | 4 +- fs/btrfs/tests/btrfs-tests.c | 4 +- fs/btrfs/tests/extent-io-tests.c | 54 ++++---- fs/btrfs/tests/inode-tests.c | 24 ++-- fs/btrfs/transaction.c | 34 ++--- fs/btrfs/tree-log.c | 12 +- fs/btrfs/volumes.c | 28 ++-- include/trace/events/btrfs.h | 16 +-- 29 files changed, 607 insertions(+), 622 deletions(-)
Signature · 1 line
2.45.2