summaryrefslogtreecommitdiff
path: root/include/scsi/scsi_request.h
diff options
context:
space:
mode:
authorJan Höppner <hoeppner@linux.vnet.ibm.com>2017-03-22 09:57:56 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-07-05 07:35:29 +0200
commit9d2be0c1d461520578a7634f09527515f51e2267 (patch)
treeb0f46ae605dac645a45e9d911a9411cdc1128f9f /include/scsi/scsi_request.h
parentbbc7f7ea18fca796cb276a2981a970cd2384dfa7 (diff)
s390/dasd: Make raw I/O usable without prefix support
The Prefix CCW is not mandatory and raw I/O can also be issued without it. Check whether the Prefix CCW is supported and if not use the combination of Define Extent and Locate Record Extended instead. While at it, sort the variable declarations, replace the gotos with early exits, and remove an error check at the end which is irrelevant. Also, remove the XRC check as it is not relevant for raw I/O. Reviewed-by: Stefan Haberland <sth@linux.vnet.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/scsi/scsi_request.h')
0 files changed, 0 insertions, 0 deletions