Btrfs: resume balance on rw (re)mounts properly
authorIlya Dryomov <idryomov@gmail.com>
Fri, 22 Jun 2012 18:24:13 +0000 (12:24 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 2 Jul 2012 19:39:17 +0000 (15:39 -0400)
commit2b6ba629b5aac51e7099efbb43e2b403213aa7fb
tree0a36f4adb14a57fdf4ee1dafa957927b6a6f9203
parent68310a5e42f93c2242ec1836c3b18d531e0065e2
Btrfs: resume balance on rw (re)mounts properly

This introduces btrfs_resume_balance_async(), which, given that
restriper state was recovered earlier by btrfs_recover_balance(),
resumes balance in btrfs-balance kthread.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/btrfs/disk-io.c
fs/btrfs/super.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h