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:41 +0200
committerDavid Sterba <[email protected]>2022-01-07 14:18:23 +0100
commitefc0e69c2feab8efcdbb9efdb9aae892d11b1545 (patch)
tree3a2450687319c4d9f7775dc48f40ba500ad91282 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentd96b34248c2f4ea8cd09286090f2f6f77102eaab (diff)
btrfs: introduce exclusive operation BALANCE_PAUSED state
Current set of exclusive operation states is not sufficient to handle all practical use cases. In particular there is a need to be able to add a device to a filesystem that have paused balance. Currently there is no way to distinguish between a running and a paused balance. Fix this by introducing BTRFS_EXCLOP_BALANCE_PAUSED which is going to be set in 2 occasions: 1. When a filesystem is mounted with skip_balance and there is an unfinished balance it will now be into BALANCE_PAUSED instead of simply BALANCE state. 2. When a running 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