Skip to content
Commit ed0fb78f authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

Btrfs: bring back balance pause/resume logic

Balance pause/resume logic got broken by 5ac00add

 (went in into 3.8-rc1
as part of dev-replace merge).  Offending commit took a stab at making
mutually exclusive volume operations (add_dev, rm_dev, resize, balance,
replace_dev) not block behind volume_mutex if another such operation is
in progress and instead return an error right away.  Balancing front-end
relied on the blocking behaviour, so the fix is ugly, but short of a
complete rework, it's the best we can do.

Reported-by: default avatarLiu Bo <bo.li.liu@oracle.com>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 3972f260
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment