mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-21 06:36:27 +00:00
scst.h: Clarify data direction comments
I think the comments in scst.h for data_direction and expected_data_direction can be made more clear. The patch below makes the comments for these two variables more detailed. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5121 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+5
-2
@@ -2086,10 +2086,13 @@ struct scst_cmd {
|
||||
int timeout; /* CDB execution timeout in seconds */
|
||||
int retries; /* Amount of retries that will be done by SCSI mid-level */
|
||||
|
||||
/* SCSI data direction, one of SCST_DATA_* constants */
|
||||
/*
|
||||
* Data direction derived from the opcode and the ANSI T10 SCSI specs.
|
||||
* One of SCST_DATA_* constants.
|
||||
*/
|
||||
scst_data_direction data_direction;
|
||||
|
||||
/* Remote initiator supplied values, if any */
|
||||
/* Values supplied by the initiator in the transport layer header, if any */
|
||||
scst_data_direction expected_data_direction;
|
||||
int expected_transfer_len;
|
||||
int expected_out_transfer_len; /* for bidi writes */
|
||||
|
||||
Reference in New Issue
Block a user