mbox series

[v2,0/4] btrfs: first batch of zoned cleanups

Message ID cover.1638886948.git.johannes.thumshirn@wdc.com (mailing list archive)
Headers show
Series btrfs: first batch of zoned cleanups | expand

Message

Johannes Thumshirn Dec. 7, 2021, 2:28 p.m. UTC
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/cover.1637745470.git.johannes.thumshirn@wdc.com/

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(-)

Comments

David Sterba Dec. 7, 2021, 7:12 p.m. UTC | #1
On Tue, Dec 07, 2021 at 06:28:33AM -0800, Johannes Thumshirn wrote:
> 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/cover.1637745470.git.johannes.thumshirn@wdc.com/
> 
> 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

Added to misc-next, thanks.