Re: [PATCH-v2 02/15] target: Add protected fabric + unprotected device support

2015-04-13 Thread Martin K. Petersen
nab == Nicholas A Bellinger n...@linux-iscsi.org writes: nab The following incremental patch saves the current sess_prot_type nab into se_node_acl, and will always reset sess_prot_type if a nab previous saved value exists. So the PI setting for the fabric's nab session with backend devices not

Re: [PATCH-v2 02/15] target: Add protected fabric + unprotected device support

2015-04-13 Thread Sagi Grimberg
On 4/10/2015 9:59 PM, Nicholas A. Bellinger wrote: On Thu, 2015-04-09 at 17:45 -0400, Martin K. Petersen wrote: nab == Nicholas A Bellinger n...@linux-iscsi.org writes: How do you handle RDPROTECT/WRPROTECT values of 3 if the PI is not persistent? nab AFAICT, this would result in

Re: [PATCH-v2 02/15] target: Add protected fabric + unprotected device support

2015-04-08 Thread Nicholas A. Bellinger
On Tue, 2015-04-07 at 19:27 -0400, Martin K. Petersen wrote: nab == Nicholas A Bellinger n...@daterainc.com writes: nab This specifically is to allow LIO to perform WRITE_STRIP + nab READ_INSERT operations when functioning with non T10-PI enabled nab devices, seperate from any available hw

Re: [PATCH-v2 02/15] target: Add protected fabric + unprotected device support

2015-04-07 Thread Martin K. Petersen
nab == Nicholas A Bellinger n...@daterainc.com writes: nab This specifically is to allow LIO to perform WRITE_STRIP + nab READ_INSERT operations when functioning with non T10-PI enabled nab devices, seperate from any available hw offloads the fabric nab supports. How do you handle

Re: [PATCH-v2 02/15] target: Add protected fabric + unprotected device support

2015-04-01 Thread Sagi Grimberg
On 4/1/2015 8:49 AM, Nicholas A. Bellinger wrote: On Mon, 2015-03-30 at 10:51 +0300, Sagi Grimberg wrote: On 3/30/2015 6:28 AM, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org This patch adds a new target_core_fabric_ops callback for allowing fabric drivers to

Re: [PATCH-v2 02/15] target: Add protected fabric + unprotected device support

2015-04-01 Thread Nicholas A. Bellinger
On Wed, 2015-04-01 at 12:04 +0300, Sagi Grimberg wrote: On 4/1/2015 8:49 AM, Nicholas A. Bellinger wrote: On Mon, 2015-03-30 at 10:51 +0300, Sagi Grimberg wrote: On 3/30/2015 6:28 AM, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org This patch adds a new

Re: [PATCH-v2 02/15] target: Add protected fabric + unprotected device support

2015-03-31 Thread Nicholas A. Bellinger
On Mon, 2015-03-30 at 10:51 +0300, Sagi Grimberg wrote: On 3/30/2015 6:28 AM, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org This patch adds a new target_core_fabric_ops callback for allowing fabric drivers to expose a TPG attribute for signaling when a T10-PI

Re: [PATCH-v2 02/15] target: Add protected fabric + unprotected device support

2015-03-30 Thread Sagi Grimberg
On 3/30/2015 6:28 AM, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org This patch adds a new target_core_fabric_ops callback for allowing fabric drivers to expose a TPG attribute for signaling when a T10-PI protected fabric wants to function with an un-protected device

[PATCH-v2 02/15] target: Add protected fabric + unprotected device support

2015-03-29 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This patch adds a new target_core_fabric_ops callback for allowing fabric drivers to expose a TPG attribute for signaling when a T10-PI protected fabric wants to function with an un-protected device without T10-PI. This specifically is to allow LIO