Skip to content

Structre and parameter cleanups

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9btrfs: sink parameter is_data to btrfs_set_disk_extent_flagsfs/btrfs/ctree.c fs/btrfs/ctree.h fs/btrfs/extent-tree.c+5 -61 reply
2/9btrfs: remove btrfs_delayed_extent_op::is_datafs/btrfs/delayed-ref.c fs/btrfs/delayed-ref.h fs/btrfs/extent-tree.c+3 -81 reply
3/9btrfs: remove unused parameter bio_flags from btrfs_wq_submit_biofs/btrfs/disk-io.c fs/btrfs/disk-io.h fs/btrfs/inode.c+5 -71 reply
4/9btrfs: remove trivial helper update_nr_writtenfs/btrfs/extent_io.c+3 -91 reply
5/9btrfs: simplify handling of bio_ctrl::bio_flagsfs/btrfs/extent_io.c fs/btrfs/extent_io.h fs/btrfs/inode.c+9 -171 reply
6/9btrfs: open code extent_set_compress_type helpersfs/btrfs/extent_io.c fs/btrfs/extent_io.h+3 -161 reply
7/9btrfs: rename io_failure_record::bio_flags to compress_typefs/btrfs/extent_io.c fs/btrfs/extent_io.h+4 -44 replies
8/9btrfs: rename bio_flags in parameters and switch typefs/btrfs/ctree.h fs/btrfs/extent_io.c fs/btrfs/extent_io.h +1 more+19 -190 replies
9/9btrfs: rename bio_ctrl::bio_flags to compress_typefs/btrfs/extent_io.c+10 -100 replies

Reviews trailers per patch

6 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohannes ThumshirnNikolay Borisov
SeriesR-b
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9
8/9
9/9

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 0/9] Structre and parameter cleanups

Simplify some argument passing, remove too-trivial helpers or unused structure members.

David Sterba (9):
btrfs: sink parameter is_data to btrfs_set_disk_extent_flags
btrfs: remove btrfs_delayed_extent_op::is_data
btrfs: remove unused parameter bio_flags from btrfs_wq_submit_bio
btrfs: remove trivial helper update_nr_written
btrfs: simplify handling of bio_ctrl::bio_flags
btrfs: open code extent_set_compress_type helpers
btrfs: rename io_failure_record::bio_flags to compress_type
btrfs: rename bio_flags in parameters and switch type
btrfs: rename bio_ctrl::bio_flags to compress_type

 fs/btrfs/ctree.c       |  2 +-
 fs/btrfs/ctree.h       |  5 ++-
 fs/btrfs/delayed-ref.c |  4 +--
 fs/btrfs/delayed-ref.h |  1 -
 fs/btrfs/disk-io.c     |  5 ++-
 fs/btrfs/disk-io.h     |  3 +-
 fs/btrfs/extent-tree.c | 10 +++---
 fs/btrfs/extent_io.c   | 73 ++++++++++++++++++------------------------
 fs/btrfs/extent_io.h   | 22 ++-----------
 fs/btrfs/inode.c       | 10 +++---
 10 files changed, 50 insertions(+), 85 deletions(-)
Signature · 1 line
2.34.1