summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorNicholas Bellinger2015-02-14 00:28:27 +0100
committerNicholas Bellinger2015-02-14 03:09:46 +0100
commitfde9f50f80fe89a9115b4bfa773017272597d85d (patch)
tree8b1a67b39f2e3b64aafd32b95ccd8fb4a96314f4 /.gitignore
parenttarget: Perform PROTECT sanity checks for WRITE_SAME (diff)
downloadkernel-qcow2-linux-fde9f50f80fe89a9115b4bfa773017272597d85d.tar.gz
kernel-qcow2-linux-fde9f50f80fe89a9115b4bfa773017272597d85d.tar.xz
kernel-qcow2-linux-fde9f50f80fe89a9115b4bfa773017272597d85d.zip
target: Add sanity checks for DPO/FUA bit usage
This patch adds a sbc_check_dpofua() function that performs sanity checks for DPO/FUA command bits. It introduces checks to fail when either bit is set, but the backend device is not advertising support for them. It also moves the existing cmd->se_cmd_flags |= SCF_FUA assignement into the new helper function. Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions