Skip to content

btrfs: cleanup patches

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8btrfs: pass fs_info to (more) routines that are only called with extent_rootfs/btrfs/extent-tree.c+53 -500 replies
2/8btrfs: flush_space always takes fs_info->fs_rootfs/btrfs/extent-tree.c+10 -100 replies
3/8btrfs: convert btrfs_inc_block_group_ro to accept fs_infofs/btrfs/ctree.h fs/btrfs/extent-tree.c fs/btrfs/relocation.c +1 more+5 -60 replies
4/8btrfs: free-space-cache, clean up unnecessary root argumentsfs/btrfs/extent-tree.c fs/btrfs/free-space-cache.c fs/btrfs/free-space-cache.h +2 more+22 -261 reply
5/8btrfs: btrfs_wait_cache_io_root doesn't use path argumentfs/btrfs/free-space-cache.c+3 -81 reply
6/8btrfs: btrfs_truncate_free_space_cache always allocates pathfs/btrfs/free-space-cache.c+6 -70 replies
7/8btrfs: drop unused extent_op arg from btrfs_add_delayed_data_reffs/btrfs/delayed-ref.c fs/btrfs/delayed-ref.h fs/btrfs/extent-tree.c+6 -100 replies
8/8btrfs: use btrfs_debug instead of pr_debug in transaction abortfs/btrfs/ctree.h+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] btrfs: cleanup patches

From: Jeff Mahoney <[email protected]>

Hi all -

Here's another around of cleanup patches. The first 7 cleanup API blemishes with unused arguments and/or root -> fs_info conversion. The last converts the pr_debug in btrfs_abort_transaction to use btrfs_debug.

-Jeff

Jeff Mahoney (8):
btrfs: pass fs_info to (more) routines that are only called with
extent_root
btrfs: flush_space always takes fs_info->fs_root
btrfs: convert btrfs_inc_block_group_ro to accept fs_info
btrfs: free-space-cache, clean up unnecessary root arguments
btrfs: btrfs_wait_cache_io_root doesn't use path argument
btrfs: btrfs_truncate_free_space_cache always allocates path
btrfs: drop unused extent_op arg from btrfs_add_delayed_data_ref
btrfs: use btrfs_debug instead of pr_debug in transaction abort

 fs/btrfs/ctree.h            |   5 +-
 fs/btrfs/delayed-ref.c      |   6 +-
 fs/btrfs/delayed-ref.h      |   3 +-
 fs/btrfs/extent-tree.c      | 144 ++++++++++++++++++++++----------------------
 fs/btrfs/free-space-cache.c |  49 ++++++---------
 fs/btrfs/free-space-cache.h |   7 +--
 fs/btrfs/inode-map.c        |   2 +-
 fs/btrfs/relocation.c       |   7 +--
 fs/btrfs/scrub.c            |   2 +-
 9 files changed, 107 insertions(+), 118 deletions(-)
Signature · 1 line
2.7.1