aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2021-11-25 11:14:43 +0200
committerDavid Sterba <[email protected]>2022-01-07 14:18:23 +0100
commita174c0a2e857081195db6888323802f0fae793ef (patch)
tree24a0b208fe8d74414fca325b8f291588b748a1e1 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parent621a1ee1d399c77dd4604aeab3e0f6319f649dbc (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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions