Here's the rebalance_work patchset, which I expect to merge shortly.

It eliminates most scanning by the rebalance thread, which is a nice
scalabality improvement. Cheers :)

Kent Overstreet (6):
  bcachefs: move.c exports, refactoring
  bcachefs: moving_context now owns a btree_trans
  bcachefs: move: convert to bbpos
  bcachefs: move: move_stats refactoring
  bcachefs: bch2_inum_opts_get()
  bcachefs: rebalance_work

 fs/bcachefs/bbpos.h           |  14 +-
 fs/bcachefs/bbpos_types.h     |  18 ++
 fs/bcachefs/bcachefs.h        |   4 +-
 fs/bcachefs/bcachefs_format.h |  34 +--
 fs/bcachefs/buckets.c         |  10 +
 fs/bcachefs/chardev.c         |   4 +-
 fs/bcachefs/compress.c        |  18 +-
 fs/bcachefs/compress.h        |   2 +
 fs/bcachefs/data_update.c     |  21 +-
 fs/bcachefs/data_update.h     |   1 +
 fs/bcachefs/extents.c         | 155 +++++++++-
 fs/bcachefs/extents.h         |  20 ++
 fs/bcachefs/inode.c           |  12 +
 fs/bcachefs/inode.h           |   1 +
 fs/bcachefs/io_misc.c         |  11 +-
 fs/bcachefs/io_write.c        |  20 +-
 fs/bcachefs/move.c            | 277 ++++++++---------
 fs/bcachefs/move.h            |  36 ++-
 fs/bcachefs/move_types.h      |   8 +-
 fs/bcachefs/movinggc.c        |  37 ++-
 fs/bcachefs/rebalance.c       | 553 ++++++++++++++++++++--------------
 fs/bcachefs/rebalance.h       |   9 +-
 fs/bcachefs/rebalance_types.h |  31 +-
 fs/bcachefs/recovery.c        |   1 +
 fs/bcachefs/recovery_types.h  |   1 +
 fs/bcachefs/reflink.c         |  19 +-
 fs/bcachefs/sysfs.c           |  14 +-
 fs/bcachefs/trace.c           |   1 +
 fs/bcachefs/trace.h           |  31 +-
 fs/bcachefs/xattr.c           |   2 +-
 30 files changed, 848 insertions(+), 517 deletions(-)
 create mode 100644 fs/bcachefs/bbpos_types.h

-- 
2.42.0

Reply via email to