aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2015-09-16 00:27:35 +0000
committerNicholas Bellinger <[email protected]>2015-09-25 06:17:21 +0000
commiteeeb9522231118138be418ff527dc8c9050f4707 (patch)
treebc9dc2d41c12551c52ad53449cf9b34171572fe9 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parenttarget: Fix PR registration + APTPL RCU conversion regression (diff)
downloadkernel-eeeb9522231118138be418ff527dc8c9050f4707.tar.gz
kernel-eeeb9522231118138be418ff527dc8c9050f4707.zip
target: Propigate backend read-only to core_tpg_add_lun
This patch adds a DF_READ_ONLY flag that is used by IBLOCK to signal when a backend has been set to read-only mode, in order to propigate read-only status up to core_tpg_add_lun() for all future LUN fabric exports. With this is place, existing emulation for reporting read-only in spc_emulate_modesense() and normal transport_lookup_cmd_lun() TCM_WRITE_PROTECTED status checking just works as expected. Reported-by: Joeue Deng <[email protected]> Reported-by: Andy Grover <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions