Scst_user doc updated

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@846 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2009-05-11 17:37:55 +00:00
parent eb2a491ec6
commit ab943ee30a

View File

@@ -62,10 +62,12 @@ struct scst_user_dev_desc
{
uint8_t version;
uint8_t type;
uint8_t sgv_shared;
uint8_t has_own_order_mgmt;
struct scst_user_opt opt;
uint32_t block_size;
char name[SCST_MAX_NAME];
char sgv_name[SCST_MAX_NAME];
},
where:
@@ -74,6 +76,9 @@ where:
- type - SCSI type of the device
- sgv_shared - true, if SGV cache for this device should be shared with
other devices. False, if the SGV cache should be dedicated.
- has_own_order_mgmt - set it in non-zero, if device implements own
ORDERED commands management, i.e. guarantees commands execution order
requirements, specified by SAM.
@@ -84,6 +89,8 @@ where:
- name - name of the device
- sgv_name - name of SGV cache for this device
SCST_USER_REGISTER_DEVICE returns registered device's handler or -1
in case of error, and errno is set appropriately.