commit | 16ab8e60a0ebc22cfbe61d84e620457a15f3a0bc | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Aug 08 19:03:38 2011 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Aug 22 19:26:20 2011 +0000 |
tree | a6ccaf22e12140045f70678d6dd213154cd11087 | |
parent | 387e96c05299ca7a0ade874f343f91f0b01086a0 [diff] |
target: Fix write payload exception handling with ->new_cmd_map This patch fixes a bug for fabrics using tfo->new_cmd_map() that are expect transport_generic_request_failure() to be calling transport_send_check_condition_and_sense() for both READ and WRITE, instead of only for READ exceptions. This was originally observed with a failed WRITE_SAME_16 w/ unmap=0 using tcm_loop. Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>