]> git.baikalelectronics.ru Git - kernel.git/commit
Target/iser: Fail SCSI WRITE command if device detected integrity error
authorSagi Grimberg <sagig@mellanox.com>
Tue, 18 Mar 2014 12:58:27 +0000 (14:58 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 7 Apr 2014 08:48:49 +0000 (01:48 -0700)
commit6f5a2ff59b80423eaa561964c707e4487ae40236
tree57e87527cd77eed08ccdfb255a0e3bcf5666f0fb
parentc3bec4c2e1cfc22ec1ccdd4ec9b7211c50db1603
Target/iser: Fail SCSI WRITE command if device detected integrity error

If during data-transfer a data-integrity error was detected we
must fail the command with CHECK_CONDITION and not execute
the command.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c