Better version of the previous patch

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5247 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2014-01-29 04:16:58 +00:00
parent b0a7ab2210
commit e9ef3fa2d1
3 changed files with 24 additions and 20 deletions
+6
View File
@@ -1951,6 +1951,9 @@ struct scst_cmd {
/* Set if cmd is queued as hw pending */
unsigned int cmd_hw_pending:1;
/* Set if cmd has NACA bit set in CDB */
unsigned int cmd_naca:1;
/*
* Set if the target driver wants to alloc data buffers on its own.
* In this case tgt_alloc_data_buf() must be provided in the target
@@ -2030,6 +2033,9 @@ struct scst_cmd {
/* Set if scst_cmd_set_write_not_received_data_len() was called */
unsigned int write_not_received_set:1;
/* Set if cmd has LINK bit set in CDB */
unsigned int cmd_linked:1;
/**************************************************************/
/* cmd's async flags */