]> 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)
commit89486ac7a251ca23655c66d0da07c56bacb5a393
tree26761c92c8d135aa62702562bae3337ccad9f74d
parent699319c827926f67848bd221bda46dc25dd10435
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