[PATCH-v2 05/15] target: Add internal WRITE_STRIP support

2015-03-29 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds WRITE_STRIP support in target_check_write_prot() that invokes sbc_dif_verify_write() for checking T10-PI metadata before submitting the I/O to a backend driver. Upon verify failure, the specific sense code is propigated up the failure path up to transport

Re: [PATCH-v2 05/15] target: Add internal WRITE_STRIP support

2015-03-30 Thread Sagi Grimberg
On 3/30/2015 6:28 AM, Nicholas A. Bellinger wrote: From: Nicholas Bellinger This patch adds WRITE_STRIP support in target_check_write_prot() that invokes sbc_dif_verify_write() for checking T10-PI metadata before submitting the I/O to a backend driver. Upon verify failure, the specific sense c

Re: [PATCH-v2 05/15] target: Add internal WRITE_STRIP support

2015-03-31 Thread Nicholas A. Bellinger
On Mon, 2015-03-30 at 11:01 +0300, Sagi Grimberg wrote: > On 3/30/2015 6:28 AM, Nicholas A. Bellinger wrote: > > From: Nicholas Bellinger > > > > This patch adds WRITE_STRIP support in target_check_write_prot() that > > invokes sbc_dif_verify_write() for checking T10-PI metadata before > > submitt

Re: [PATCH-v2 05/15] target: Add internal WRITE_STRIP support

2015-04-07 Thread Martin K. Petersen
> "nab" == Nicholas A Bellinger writes: nab> This patch adds WRITE_STRIP support in target_check_write_prot() nab> that invokes sbc_dif_verify_write() for checking T10-PI metadata nab> before submitting the I/O to a backend driver. With Sagi's suggestions. Reviewed-by: Martin K. Petersen