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)
commitde322263d3a6d4ffd4ed7c4d0c6536e9497aec9b
tree26761c92c8d135aa62702562bae3337ccad9f74d
parenta7e99c691af553fc15ac46a51f130b7c59a65f76
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