All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/21] btrfs: first batch of zoned cleanups
@ 2021-11-24  9:30 Johannes Thumshirn
  2021-11-24  9:30 ` [PATCH 01/21] btrfs: zoned: encapsulate inode locking for zoned relocation Johannes Thumshirn
                   ` (21 more replies)
  0 siblings, 22 replies; 34+ messages in thread
From: Johannes Thumshirn @ 2021-11-24  9:30 UTC (permalink / raw)
  To: David Sterba
  Cc: Johannes Thumshirn, linux-btrfs, Nikolay Borisov, Naohiro Aota

Here's a first batch of cleanups for the zoend code. It reduces the number of
calls to btrfs_is_zoned() outside of zoned.[ch] from 46 on misc-next to 33.

As I had to create a scrub.h file, I also moved the scrub related function
prototypes from ctree.h to scrub.h.

Johannes Thumshirn (21):
  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
  btrfs: zoned: move compatible fs flags check to zoned code
  btrfs: zoned: move mark_block_group_to_copy to zoned code
  btrfs: zoned: move btrfs_finish_block_group_to_copy to zoned code
  btrfs: zoned: move is_block_group_to_copy to zoned code
  btrfs: zoned: skip zoned check if block_group is marked as copy
  btrfs: move struct scrub_ctx to scrub.h
  btrfs: zoned: move fill_writer_pointer_gap to zoned code
  btrfs: zoned: sync_write_pointer_for_zoned to zoned code
  btrfs: make scrub_submit and scrub_wr_submit non-static
  btrfs: zoned: move sync_replace_for_zoned to zoned code
  btrfs: zoned: move finish_extent_writes_for_zoned to zoned code
  btrfs: move btrfs_scrub_dev() definition to scrub.h
  btrfs: move btrfs_scrub_pause() definition to scrub.h
  btrfs: move btrfs_scrub_continue() definition to scrub.h
  btrfs: move btrfs_scrub_cancel() definition to scrub.h
  btrfs: move btrfs_scrub_cancel_dev() definition to scrub.h
  btrfs: move btrfs_scrub_progress() definition to scrub.h

 fs/btrfs/ctree.h       |  10 --
 fs/btrfs/dev-replace.c | 182 +-----------------------
 fs/btrfs/dev-replace.h |   3 -
 fs/btrfs/disk-io.c     |   1 +
 fs/btrfs/extent_io.c   |  16 +--
 fs/btrfs/ioctl.c       |  13 +-
 fs/btrfs/scrub.c       | 187 +++++--------------------
 fs/btrfs/scrub.h       |  62 +++++++++
 fs/btrfs/super.c       |   1 +
 fs/btrfs/transaction.c |   1 +
 fs/btrfs/volumes.c     |  36 ++---
 fs/btrfs/volumes.h     |   2 +-
 fs/btrfs/zoned.c       | 306 ++++++++++++++++++++++++++++++++++++++---
 fs/btrfs/zoned.h       |  77 +++++++++++
 14 files changed, 483 insertions(+), 414 deletions(-)
 create mode 100644 fs/btrfs/scrub.h

-- 
2.31.1


^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2021-11-29  8:26 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24  9:30 [PATCH 00/21] btrfs: first batch of zoned cleanups Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 01/21] btrfs: zoned: encapsulate inode locking for zoned relocation Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 02/21] btrfs: zoned: simplify btrfs_check_meta_write_pointer Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 03/21] btrfs: zoned: sink zone check into btrfs_repair_one_zone Johannes Thumshirn
2021-11-24 16:28   ` Josef Bacik
2021-11-24 17:29   ` David Sterba
2021-11-25  7:13     ` Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 04/21] btrfs: zoned: it's pointless to check for REQ_OP_ZONE_APPEND and btrfs_is_zoned Johannes Thumshirn
2021-11-24 17:33   ` David Sterba
2021-11-24  9:30 ` [PATCH 05/21] btrfs: zoned: move compatible fs flags check to zoned code Johannes Thumshirn
2021-11-24 17:36   ` David Sterba
2021-11-25 10:00     ` Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 06/21] btrfs: zoned: move mark_block_group_to_copy " Johannes Thumshirn
2021-11-24 17:48   ` David Sterba
2021-11-24  9:30 ` [PATCH 07/21] btrfs: zoned: move btrfs_finish_block_group_to_copy " Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 08/21] btrfs: zoned: move is_block_group_to_copy " Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 09/21] btrfs: zoned: skip zoned check if block_group is marked as copy Johannes Thumshirn
2021-11-29  8:18   ` [btrfs] a323b5f59e: xfstests.btrfs.167.fail kernel test robot
2021-11-29  8:18     ` kernel test robot
2021-11-24  9:30 ` [PATCH 10/21] btrfs: move struct scrub_ctx to scrub.h Johannes Thumshirn
2021-11-26 16:48   ` David Sterba
2021-11-24  9:30 ` [PATCH 11/21] btrfs: zoned: move fill_writer_pointer_gap to zoned code Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 12/21] btrfs: zoned: sync_write_pointer_for_zoned " Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 13/21] btrfs: make scrub_submit and scrub_wr_submit non-static Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 14/21] btrfs: zoned: move sync_replace_for_zoned to zoned code Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 15/21] btrfs: zoned: move finish_extent_writes_for_zoned " Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 16/21] btrfs: move btrfs_scrub_dev() definition to scrub.h Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 17/21] btrfs: move btrfs_scrub_pause() " Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 18/21] btrfs: move btrfs_scrub_continue() " Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 19/21] btrfs: move btrfs_scrub_cancel() " Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 20/21] btrfs: move btrfs_scrub_cancel_dev() " Johannes Thumshirn
2021-11-24  9:30 ` [PATCH 21/21] btrfs: move btrfs_scrub_progress() " Johannes Thumshirn
2021-11-24 16:34 ` [PATCH 00/21] btrfs: first batch of zoned cleanups Josef Bacik
2021-11-25  9:58   ` Johannes Thumshirn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.