Skip to content

btrfs: first batch of zoned cleanups

Johannes Thumshirn linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 4 repliesIn review
  2. v121 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs: zoned: encapsulate inode locking for zoned relocationfs/btrfs/extent_io.c fs/btrfs/zoned.h+19 -63 replies
2/4btrfs: zoned: simplify btrfs_check_meta_write_pointerfs/btrfs/zoned.c+8 -180 replies
3/4btrfs: zoned: sink zone check into btrfs_repair_one_zonefs/btrfs/extent_io.c fs/btrfs/scrub.c fs/btrfs/volumes.c +1 more+13 -100 replies
4/4btrfs: zoned: it's pointless to check for REQ_OP_ZONE_APPEND and btrfs_is_zonedfs/btrfs/extent_io.c+2 -30 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJosef Bacik
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] btrfs: first batch of zoned cleanups

Here's the first btach of cleanups for the zoned code. In contrast to the 1st submission [1] it is a minimalized set of patches with no dependencies on other subsystems in btrfs. All of these patches are independant and can be applied on their own.

The remaining patches from v1 will be sent out separately, once properly reworked.

[1] https://lore.kernel.org/linux-btrfs/[email protected]/

Johannes Thumshirn (4):
btrfs: zoned: encapsulate inode locking for zoned relocation
btrfs: zoned: simplify btrfs_check_meta_write_pointer
btrfs: zoned: sink zone check into btrfs_repair_one_zone
btrfs: zoned: it's pointless to check for REQ_OP_ZONE_APPEND and
btrfs_is_zoned

 fs/btrfs/extent_io.c | 17 ++++++-----------
 fs/btrfs/scrub.c     |  4 ++--
 fs/btrfs/volumes.c   | 13 ++++++++-----
 fs/btrfs/volumes.h   |  2 +-
 fs/btrfs/zoned.c     | 26 ++++++++------------------
 fs/btrfs/zoned.h     | 17 +++++++++++++++++
 6 files changed, 42 insertions(+), 37 deletions(-)
Signature · 1 line
2.31.1