Re: [PATCH v4 5/5] target: Return ABORTED_COMMAND sense key for PI errors

2015-07-09 Thread Martin K. Petersen
> "Sagi" == Sagi Grimberg writes: Sagi> PI errors were reported with ILLEGAL_REQUEST sense key but there Sagi> was actually no problem with the request. Target detected PI Sagi> errors should be reported with aborted command sense key. For legacy reasons we use ILLEGAL REQUEST with the same

Re: [PATCH v4 5/5] target: Return ABORTED_COMMAND sense key for PI errors

2015-07-08 Thread Hannes Reinecke
On 07/08/2015 04:58 PM, Sagi Grimberg wrote: > PI errors were reported with ILLEGAL_REQUEST sense key but > there was actually no problem with the request. Target > detected PI errors should be reported with aborted command > sense key. > > Signed-off-by: Sagi Grimberg > --- > drivers/target/tar

[PATCH v4 5/5] target: Return ABORTED_COMMAND sense key for PI errors

2015-07-08 Thread Sagi Grimberg
PI errors were reported with ILLEGAL_REQUEST sense key but there was actually no problem with the request. Target detected PI errors should be reported with aborted command sense key. Signed-off-by: Sagi Grimberg --- drivers/target/target_core_transport.c | 6 +++--- 1 file changed, 3 insertions