diff options
author | Nikolay Borisov <nborisov@suse.com> | 2021-11-25 11:14:43 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-01-07 14:18:23 +0100 |
commit | a174c0a2e857081195db6888323802f0fae793ef (patch) | |
tree | 24a0b208fe8d74414fca325b8f291588b748a1e1 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 621a1ee1d399c77dd4604aeab3e0f6319f649dbc (diff) |
btrfs: allow device add if balance is paused
Currently paused balance precludes adding a device since they are both
considered exclusive ops and we can have at most one running at a time.
This is problematic in case a filesystem encounters an ENOSPC situation
while balance is running, in this case the only thing the user can do
is mount the fs with "skip_balance" which pauses balance and delete some
data to free up space for balance. However, it should be possible to add
a new device when balance is paused.
Fix this by allowing device add to proceed when balance is paused.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions