Btrfs: restriper
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest21 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | Btrfs: get rid of *_alloc_profile fieldsfs/ fs/ fs/ +1 more | +6 | 0 replies | |
| 2/21 | Btrfs: introduce masks for chunk type and profilefs/ fs/ fs/ | +22 | 0 replies | |
| 3/21 | Btrfs: add BTRFS_AVAIL_ALLOC_BIT_SINGLE bitfs/ fs/ | +36 | 0 replies | |
| 4/21 | Btrfs: make avail_*_alloc_bits fields dynamicfs/ | +20 | 0 replies | |
| 5/21 | Btrfs: add basic restriper infrastructurefs/ fs/ fs/ +3 more | +252 | 0 replies | |
| 6/21 | Btrfs: add basic infrastructure for selective balancingfs/ fs/ fs/ | +70 | 0 replies | |
| 7/21 | Btrfs: profiles filterfs/ fs/ | +28 | 0 replies | |
| 8/21 | Btrfs: usage filterfs/ fs/ | +37 | 0 replies | |
| 9/21 | Btrfs: devid filterfs/ fs/ | +24 | 0 replies | |
| 10/21 | Btrfs: devid subset filterfs/ fs/ | +46 | 0 replies | |
| 11/21 | Btrfs: virtual address space subset filterfs/ fs/ | +21 | 0 replies | |
| 12/21 | Btrfs: do not reduce profile in do_chunk_alloc()fs/ fs/ | +19 | 0 replies | |
| 13/21 | Btrfs: implement online profile changingfs/ fs/ fs/ | +129 | 0 replies | |
| 14/21 | Btrfs: soft profile changing mode (aka soft convert)fs/ fs/ | +28 | 0 replies | |
| 15/21 | Btrfs: save balance parameters to diskfs/ fs/ | +232 | 0 replies | |
| 16/21 | Btrfs: recover balance on mountfs/ fs/ fs/ | +131 | 2 replies | |
| 17/21 | Btrfs: add skip_balance mount optionfs/ fs/ fs/ | +17 | 0 replies | |
| 18/21 | Btrfs: allow for pausing restriperfs/ fs/ fs/ +3 more | +87 | 0 replies | |
| 19/21 | Btrfs: allow for cancelling restriperfs/ fs/ fs/ +3 more | +50 | 0 replies | |
| 20/21 | Btrfs: allow for resuming restriper after it was pausedfs/ fs/ fs/ +1 more | +31 | 0 replies | |
| 21/21 | Btrfs: add balance progress reportingfs/ fs/ fs/ +1 more | +93 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/21] Btrfs: restriper
Hello,
This is a respin of restriper patch series which adds an initial implementation of restriper (it's a clever name for relocation framework that allows to do selective profile changing and selective balancing with some goodies like pausing/resuming and reporting progress to the user). See userspace cover patch for usage examples.
Changes from posted RFC include minor fixes to address received feedback and some minor fixes of my own: improved inline comments, pause and cancelling enhancements to eliminate race conditions, a better validation of user input, some error reporting and error handling fixes. Also I did s/restripe/balance to not introduce yet another term into btrfs. So nothing major, but the diff got quite large because of the rename and some code movements.
The series is on top of 3.1 + for-linus, available at:
git://github.com/idryomov/btrfs-unstable.git restriper
Thanks,
Ilya
Ilya Dryomov (21):
Btrfs: get rid of *_alloc_profile fields
Btrfs: introduce masks for chunk type and profile
Btrfs: add BTRFS_AVAIL_ALLOC_BIT_SINGLE bit
Btrfs: make avail_*_alloc_bits fields dynamic
Btrfs: add basic restriper infrastructure
Btrfs: add basic infrastructure for selective balancing
Btrfs: profiles filter
Btrfs: usage filter
Btrfs: devid filter
Btrfs: devid subset filter
Btrfs: virtual address space subset filter
Btrfs: do not reduce profile in do_chunk_alloc()
Btrfs: implement online profile changing
Btrfs: soft profile changing mode (aka soft convert)
Btrfs: save balance parameters to disk
Btrfs: recover balance on mount
Btrfs: add skip_balance mount option
Btrfs: allow for pausing restriper
Btrfs: allow for cancelling restriper
Btrfs: allow for resuming restriper after it was paused
Btrfs: add balance progress reporting
fs/btrfs/ctree.h | 205 ++++++++++++- fs/btrfs/disk-io.c | 18 +- fs/btrfs/extent-tree.c | 128 ++++++-- fs/btrfs/ioctl.c | 193 +++++++++++- fs/btrfs/ioctl.h | 55 ++++ fs/btrfs/super.c | 11 +- fs/btrfs/volumes.c | 803 +++++++++++++++++++++++++++++++++++++++++++++--- fs/btrfs/volumes.h | 50 +++- 8 files changed, 1365 insertions(+), 98 deletions(-)
Signature · 1 line
1.7.6.3