diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-02-27 22:05:33 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-04-07 23:26:09 -0700 |
commit | 9ef5466ee2f0599caf8d84203d36e581c6fc7035 (patch) | |
tree | 03317fe25e4c27bb98664fec6ebd8e340bde2676 /fs | |
parent | 38b57f82f66dfb21ebe321d71c84c0e3469980c4 (diff) |
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 'fs')
0 files changed, 0 insertions, 0 deletions