From ab943ee30a135047996e19aca5ca0a3c36359ed4 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Mon, 11 May 2009 17:37:55 +0000 Subject: [PATCH] Scst_user doc updated git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@846 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- doc/scst_user_spec.txt | 7 +++++++ 1 file changed, 7 insertions(+) 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.