commit | d0a91295557666f9e58b79b5177a98229007803b | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Sat Feb 14 01:56:19 2015 +0000 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Sat Feb 14 02:54:40 2015 +0000 |
tree | 2a4dcb4c633d2d8b7ccd962abbc74f0193e69f61 | |
parent | fde9f50f80fe89a9115b4bfa773017272597d85d [diff] |
target: Fail WRITE_SAME w/ UNMAP=1 when emulate_tpws=0 This patch adds a check within sbc_setup_write_same() to fail a WRITE_SAME w/ UNMAP=1 op, if the backend device has emulate_tpws disabled. Cc: Martin Petersen <martin.petersen@oracle.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>