Skip to content

Cleanup, remove superfluous blocksize parameter

David Sterba linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6btrfs: remove unused parameter from readahead_tree_blockfs/btrfs/ctree.c fs/btrfs/disk-io.c fs/btrfs/disk-io.h +2 more+8 -160 replies
2/6btrfs: return void from readahead_tree_blockfs/btrfs/disk-io.c fs/btrfs/disk-io.h fs/btrfs/extent-tree.c+4 -80 replies
3/6btrfs: inline code of reada_tree_block and remove itfs/btrfs/relocation.c+2 -100 replies
4/6btrfs: remove parameter blocksize from read_tree_blockfs/btrfs/backref.c fs/btrfs/ctree.c fs/btrfs/disk-io.c +4 more+18 -370 replies
5/6btrfs: remove unused parameter blocksize from btrfs_find_tree_blockfs/btrfs/ctree.c fs/btrfs/disk-io.c fs/btrfs/disk-io.h +1 more+9 -120 replies
6/6btrfs: remove blocksize from btrfs_alloc_free_block and renamefs/btrfs/ctree.c fs/btrfs/ctree.h fs/btrfs/disk-io.c +2 more+21 -270 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/6] Cleanup, remove superfluous blocksize parameter

First portion of cleanups that remove a parameter that's being passed to a lot of functions, although the value does not change during the filesystem lifetime. This part contains the obvious and safe changes, but there are more pending that start to touch functionality and haven't not passed xfstests without warnings.

You can pull from

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git cleanup/blocksize-diet-part1

David Sterba (6):
btrfs: remove unused parameter from readahead_tree_block
btrfs: return void from readahead_tree_block
btrfs: inline code of reada_tree_block and remove it
btrfs: remove parameter blocksize from read_tree_block
btrfs: remove unused parameter blocksize from btrfs_find_tree_block
btrfs: remove blocksize from btrfs_alloc_free_block and rename

 fs/btrfs/backref.c     |  6 ++----
 fs/btrfs/ctree.c       | 54 ++++++++++++++++++++------------------------------
 fs/btrfs/ctree.h       |  6 +++---
 fs/btrfs/disk-io.c     | 37 +++++++++++-----------------------
 fs/btrfs/disk-io.h     |  7 +++----
 fs/btrfs/extent-tree.c | 20 ++++++++-----------
 fs/btrfs/ioctl.c       |  3 +--
 fs/btrfs/print-tree.c  |  1 -
 fs/btrfs/relocation.c  | 28 ++++++--------------------
 9 files changed, 57 insertions(+), 105 deletions(-)
Signature · 1 line
1.8.4.5