Btrfs: add basic restriper infrastructure
Add basic restriper infrastructure: extended balancing ioctl and all
related ioctl data structures, add data structure for tracking
restriper's state to fs_info, etc. The semantics of the old balancing
ioctl are fully preserved.
Explicitly disallow any volume operations when balance is in progress.
Signed-off-by:
Ilya Dryomov <idryomov@gmail.com>
Showing
- fs/btrfs/ctree.h 6 additions, 0 deletionsfs/btrfs/ctree.h
- fs/btrfs/disk-io.c 4 additions, 0 deletionsfs/btrfs/disk-io.c
- fs/btrfs/ioctl.c 119 additions, 16 deletionsfs/btrfs/ioctl.c
- fs/btrfs/ioctl.h 43 additions, 0 deletionsfs/btrfs/ioctl.h
- fs/btrfs/volumes.c 96 additions, 24 deletionsfs/btrfs/volumes.c
- fs/btrfs/volumes.h 13 additions, 1 deletionfs/btrfs/volumes.h
Please register or sign in to comment