Skip to content

Btrfs-progs: restriper interface

Ilya Dryomov linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Btrfs-progs: add restriper headersctree.h ioctl.h print-tree.c +1 more+106 -70 replies
2/3Btrfs-progs: add 'balance' command group infrastructureMakefile btrfs.c cmds-balance.c +2 more+101 -380 replies
3/3Btrfs-progs: add restriper commandscmds-balance.c+588 -00 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/3] Btrfs-progs: restriper interface

Hello,

This is the userspace part of restriper, rebased onto the new progs infrastructure. Restriper commands are located under 'balance' prefix, which is now the top level command group. However to not confuse existing users 'balance' prefix is also available under 'filesystem':

btrfs [filesystem] balance start
btrfs [filesystem] balance pause
btrfs [filesystem] balance cancel
btrfs [filesystem] balance resume
btrfs [filesystem] balance status

Backwards compatibility is fully preserved thanks to the new command
parser: the old 'btrfs filesystem balance <path>' works as expected.

The patchset is on top of the new parser posted half an hour ago, available at:

git://github.com/idryomov/btrfs-progs.git restriper

Thanks,

Ilya

Ilya Dryomov (3):
Btrfs-progs: add restriper headers
Btrfs-progs: add 'balance' command group infrastructure
Btrfs-progs: add restriper commands

 Makefile          |    2 +-
 btrfs.c           |    1 +
 cmds-balance.c    |  684 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 cmds-filesystem.c |   38 +---
 commands.h        |    2 +
 ctree.h           |   23 ++-
 ioctl.h           |   53 ++++
 print-tree.c      |    6 +
 volumes.h         |   31 +++
 9 files changed, 795 insertions(+), 45 deletions(-)
 create mode 100644 cmds-balance.c
Signature · 1 line
1.7.6.3