]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: allow for resuming restriper after it was paused
authorIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2012 20:04:49 +0000 (22:04 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2012 20:04:49 +0000 (22:04 +0200)
commit30b5fccd675bfd50475a2ee2ba0df15259d78ad3
tree26761c92c8d135aa62702562bae3337ccad9f74d
parentc57df47c5fa40dac84c988485fc32e3b11559509
Btrfs: allow for resuming restriper after it was paused

Recognize BTRFS_BALANCE_RESUME flag passed from userspace.  We use the
same heuristics used when recovering balance after a crash to try to
start where we left off last time.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/btrfs/ioctl.c