Revision eeeb9522231118138be418ff527dc8c9050f4707 authored by Nicholas Bellinger on 16 September 2015, 00:27:35 UTC, committed by Nicholas Bellinger on 25 September 2015, 06:17:21 UTC
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 <joeue404@gmail.com> Reported-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
1 parent 3ccd6e8
Computing file changes ...