btrfs: Use btrfs_find_item whenever possible
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | btrfs: Reorder btrfs_find_item argumentsfs/ fs/ fs/ | +6 | 4 replies | |
| 2/7 | btrfs: backref: Use btrfs_find_item in btrfs_find_one_extreffs/ | +11 | 1 reply | |
| 3/7 | btrfs: zoned: Use btrfs_find_item in calculate_emulated_zone_sizefs/ | +6 | 4 replies | |
| 4/7 | btrfs: root-tree: Use btrfs_find_item in btrfs_find_orphan_rootsfs/ | +8 | 1 reply | |
| 5/7 | btrfs: scrub: Use btrfs_find_item in scrub_enumerate_chunksfs/ | +14 | 0 replies | |
| 6/7 | btrfs: tree-log: Simplify log_new_ancestorsfs/ | +12 | 2 replies | |
| 7/7 | btrfs: ioctl: Simplify btrfs_ioctl_get_subvol_infofs/ | +22 | 2 replies |
Reviews trailers per patch
3 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Qu Wenruo | Anand Jain |
|---|---|---|
| 1/7 | ||
| 2/7 | R-b | |
| 3/7 | R-b | |
| 4/7 | ||
| 5/7 | ||
| 6/7 | ||
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] btrfs: Use btrfs_find_item whenever possible
Searching for a key in btrfs is a very common task, so try to use btrfs_find_item whenever possible to avoid boilerplate code, while making the code simpler when possible.
Please review!
Thanks,
Marcos
Marcos Paulo de Souza (7):
btrfs: Reorder btrfs_find_item arguments
btrfs: backref: Use btrfs_find_item in btrfs_find_one_extref
btrfs: zoned: Use btrfs_find_item in calculate_emulated_zone_size
btrfs: root-tree: Use btrfs_find_item in btrfs_find_orphan_roots
btrfs: scrub: Use btrfs_find_item in scrub_enumerate_chunks
btrfs: tree-log: Simplify log_new_ancestors
btrfs: ioctl: Simplify btrfs_ioctl_get_subvol_info
fs/btrfs/backref.c | 73 +++++++++----------------------------------- fs/btrfs/ctree.c | 2 +- fs/btrfs/ctree.h | 2 +- fs/btrfs/ioctl.c | 56 +++++++++++++-------------------- fs/btrfs/root-tree.c | 32 +++++-------------- fs/btrfs/scrub.c | 52 +++++++++---------------------- fs/btrfs/tree-log.c | 40 ++++++++---------------- fs/btrfs/zoned.c | 21 ++++--------- 8 files changed, 79 insertions(+), 199 deletions(-)
Signature · 1 line
2.31.1