diff --git a/doc/scst_user_spec.txt b/doc/scst_user_spec.txt index e85846474..985ca2cd7 100644 --- a/doc/scst_user_spec.txt +++ b/doc/scst_user_spec.txt @@ -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.