Skip to content
Commit d0a91295 authored by Nicholas Bellinger's avatar Nicholas Bellinger
Browse files

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: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent fde9f50f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment