Skip to content

rebalance_work btree

Kent Overstreet linux-bcachefs llvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6bcachefs: move.c exports, refactoringfs/bcachefs/move.c fs/bcachefs/move.h fs/bcachefs/rebalance.c+85 -590 replies
2/6bcachefs: moving_context now owns a btree_transfs/bcachefs/data_update.c fs/bcachefs/move.c fs/bcachefs/move.h +1 more+70 -880 replies
3/6bcachefs: move: convert to bbposfs/bcachefs/bbpos.h fs/bcachefs/bbpos_types.h fs/bcachefs/chardev.c +4 more+38 -310 replies
4/6bcachefs: move: move_stats refactoringfs/bcachefs/bcachefs.h fs/bcachefs/data_update.c fs/bcachefs/move.c +5 more+82 -620 replies
5/6bcachefs: bch2_inum_opts_get()fs/bcachefs/inode.c fs/bcachefs/inode.h+13 -00 replies
6/6bcachefs: rebalance_workfs/bcachefs/bcachefs.h fs/bcachefs/bcachefs_format.h fs/bcachefs/buckets.c +15 more+597 -3143 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] rebalance_work btree

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
Signature · 1 line
2.42.0