API Guide
2-1052 API Functions 601355 Rev A
Any client can reprioritize any command as long as the request
identifier and request type are known.
If the VSID_ENTERPRISE_ID parameter is set to any value
other than zero, the intermediate and final status for this request
is returned to the enterprise registered with VolServ.
The total length of time the API software waits for a command
status in synchronous mode from VolServ is
(VSID_RETRY_LIMIT plus 1) multiplied by
VSID_TIMEOUT_VALUE.
When the API software is operating in asynchronous mode,
client software must call VS_Select to receive final status on
a Reprioritize request submitted through the API interface to
the VolServ system.
Two levels of default parameter settings are used in the API
software—global defaults and command-specific defaults.
• Global defaults for all commands are initialized at startup
and can be set or retrieved using VS_Global_SetFields
and VS_Global_GetFields function calls.
• Command-specific parameter defaults for Reprioritize
commands are set with
VSCMD_Reprioritize_SetDefaults. If
command-specific defaults are set for Reprioritize
commands, they override the global defaults for all
commands.