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

2015-04-13 Thread Martin K. Petersen
> "nab" == Nicholas A Bellinger 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 supporting

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 writes: How do you handle RDPROTECT/WRPROTECT values of 3 if the PI is not persistent? nab> AFAICT, this would result in cmd->prot_op = TARGET_PROT_

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 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 offl

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

2015-04-07 Thread Martin K. Petersen
> "nab" == Nicholas A Bellinger 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 RDPROTECT/WRPROTECT v

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 > >>> > >>> This patch adds a new target_co

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 This patch adds a new target_core_fabric_ops callback for allowing fabric drivers to expose a TPG attribute for

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 > > > > 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 >

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 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. Thi