Re: [PATCH 4/8] target: Perform PROTECT sanity checks for WRITE_SAME

2015-02-15 Thread Sagi Grimberg
On 2/14/2015 5:27 AM, Nicholas A. Bellinger wrote: From: Nicholas Bellinger This patch adds a call to sbc_check_prot() within sbc_setup_write_same() code to perform the various protection releated sanity checks, including failing if WRPROTECT or RDPROTECT is set for a backend device that has no

[PATCH 4/8] target: Perform PROTECT sanity checks for WRITE_SAME

2015-02-13 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds a call to sbc_check_prot() within sbc_setup_write_same() code to perform the various protection releated sanity checks, including failing if WRPROTECT or RDPROTECT is set for a backend device that has not advertised support for T10-PI. Also, since WRITE_S