#include <cafe/fs.h> FSStatus FSSetCmdPriority(FSCmdBlock *block, FSPriority priority);
|priority||New priority of the command.
||Successfully set new priority to the command block.|
||block is invalid address or already in use, or priority is out of supported range.|
Set priority for specified command block. Command block must be in free state, otherwise the function will return error and the priority will not be updated.
Large file read/write command will be automatically paused when a command with higher priority is queued to the same client.
Priority will be kept if you reuse the same command block for multiple requests.
FSInitCmdBlock will reset its priority to the default, 16.
2013/05/08 Automated cleanup pass.
2012/07/30 Initial version.