summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2021-11-25 12:14:43 +0300
committerDavid Sterba <dsterba@suse.com>2022-01-07 16:18:23 +0300
commita174c0a2e857081195db6888323802f0fae793ef (patch)
tree24a0b208fe8d74414fca325b8f291588b748a1e1 /scripts/const_structs.checkpatch
parent621a1ee1d399c77dd4604aeab3e0f6319f649dbc (diff)
downloadlinux-a174c0a2e857081195db6888323802f0fae793ef.tar.xz
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 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions