diff options
author | 2015-02-27 22:05:33 -0800 | |
---|---|---|
committer | 2015-04-07 23:26:09 -0700 | |
commit | 9ef5466ee2f0599caf8d84203d36e581c6fc7035 (patch) | |
tree | 03317fe25e4c27bb98664fec6ebd8e340bde2676 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | target: Add protected fabric + unprotected device support (diff) | |
download | linux-dev-9ef5466ee2f0599caf8d84203d36e581c6fc7035.tar.xz linux-dev-9ef5466ee2f0599caf8d84203d36e581c6fc7035.zip |
target: Update SPC/SBC emulation for sess_prot_type
This patch updates standard INQUIRY, INQUIRY EVPD=0x86, READ_CAPACITY_16
and control mode pages to use se_sess->sess_prot_type when determing which
type of T10-PI related feature bits can be exposed.
This is required for fabric sessions supporting T10-PI metadata to
backend devices that don't have protection enabled.
Reviewed-by: Martin Petersen <martin.petersen@oracle.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Doug Gilbert <dgilbert@interlog.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions