Skip to content

Support adding a device during paused balance

Nikolay Borisov linux-btrfs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesIn review
  2. v23 patches 11 repliesSuperseded
  3. v13 patches 7 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: introduce BTRFS_EXCLOP_BALANCE_PAUSED exclusive statefs/btrfs/ctree.h fs/btrfs/ioctl.c fs/btrfs/volumes.c+35 -21 reply
2/3btrfs: make device add compatible with paused balance in btrfs_exclop_start_try_lockfs/btrfs/ioctl.c+4 -10 replies
3/3btrfs: allow device add if balance is pausedfs/btrfs/ioctl.c+18 -30 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/3] Support adding a device during paused balance

So here's v3 which takes care of the feedback received in the last round, namely:

- Introduced btrfs_exclop_balance which is used to switch the balance state, alongside ASSERTS
- Removed unused variable in balance_kthread

Nikolay Borisov (3):
btrfs: introduce BTRFS_EXCLOP_BALANCE_PAUSED exclusive state
btrfs: make device add compatible with paused balance in
btrfs_exclop_start_try_lock
btrfs: allow device add if balance is paused

 fs/btrfs/ctree.h   |  4 ++++
 fs/btrfs/ioctl.c   | 49 ++++++++++++++++++++++++++++++++++++++++++----
 fs/btrfs/volumes.c | 10 ++++++++--
 3 files changed, 57 insertions(+), 6 deletions(-)

--
2.25.1