Skip to content

Misc small cleanups

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10btrfs: switch uptodate to bool in btrfs_writepage_endio_finish_orderedfs/btrfs/ctree.h fs/btrfs/extent_io.c fs/btrfs/inode.c+7 -71 reply
2/10btrfs: remove uptodate parameter from btrfs_dec_test_first_ordered_pendingfs/btrfs/inode.c fs/btrfs/ordered-data.c fs/btrfs/ordered-data.h+3 -61 reply
3/10btrfs: make btrfs_next_leaf static inlinefs/btrfs/ctree.c fs/btrfs/ctree.h+12 -111 reply
4/10btrfs: tree-checker: use table values for stripe checksfs/btrfs/tree-checker.c+11 -62 replies
5/10btrfs: tree-checker: add missing stripe checks for raid1c3/4 profilesfs/btrfs/tree-checker.c+4 -01 reply
6/10btrfs: uninline btrfs_bg_flags_to_raid_indexfs/btrfs/volumes.c fs/btrfs/volumes.h+27 -262 replies
7/10btrfs: merge alloc_device helpersfs/btrfs/volumes.c+25 -411 reply
8/10btrfs: simplify data stripe calculation helpersfs/btrfs/volumes.c+2 -135 replies
9/10btrfs: constify and cleanup variables comparatorsfs/btrfs/raid56.c fs/btrfs/send.c fs/btrfs/super.c +2 more+15 -160 replies
10/10btrfs: add and use simple page/bio to inode/fs_info helpersfs/btrfs/disk-io.c fs/btrfs/extent_io.c fs/btrfs/inode.c +1 more+35 -308 replies

Reviews trailers per patch

8 of 10 patches have a Reviewed-by or Acked-by.

PatchQu Wenruo
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10
7/10R-b
8/10R-b R-b
9/10
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] Misc small cleanups

Mix of type fixups, helper cleanups and minor optimizations.

Overall impact on binary size:

text data bss dec hex filename

1163320   19157   14912 1197389  12454d pre/btrfs.ko
1160800   19157   14912 1194869  123b75 post/btrfs.ko

DELTA: -2520

David Sterba (10):
btrfs: switch uptodate to bool in btrfs_writepage_endio_finish_ordered
btrfs: remove uptodate parameter from
btrfs_dec_test_first_ordered_pending
btrfs: make btrfs_next_leaf static inline
btrfs: tree-checker: use table values for stripe checks
btrfs: tree-checker: add missing stripe checks for raid1c3/4 profiles
btrfs: uninline btrfs_bg_flags_to_raid_index
btrfs: merge alloc_device helpers
btrfs: simplify data stripe calculation helpers
btrfs: constify and cleanup variables comparators
btrfs: add and use simple page/bio to inode/fs_info helpers

 fs/btrfs/ctree.c        |  10 ----
 fs/btrfs/ctree.h        |  15 +++++-
 fs/btrfs/disk-io.c      |  24 +++++----
 fs/btrfs/extent_io.c    |  41 ++++++++-------
 fs/btrfs/inode.c        |  10 ++--
 fs/btrfs/misc.h         |   4 ++
 fs/btrfs/ordered-data.c |   5 +-
 fs/btrfs/ordered-data.h |   2 +-
 fs/btrfs/raid56.c       |   8 +--
 fs/btrfs/send.c         |   6 +--
 fs/btrfs/super.c        |  13 +++--
 fs/btrfs/tree-checker.c |  21 +++++---
 fs/btrfs/tree-log.c     |   2 +-
 fs/btrfs/volumes.c      | 109 ++++++++++++++++++++--------------------
 fs/btrfs/volumes.h      |  27 +---------
 15 files changed, 141 insertions(+), 156 deletions(-)
Signature · 1 line
2.31.1