On 09/10/2012 05:54 PM, MORITA Kazutaka wrote: > I've also tried it, but it couldn't work. A SD_OP_STAT_CLUSTER > request needs to receive epoch data even when the result is not > SD_RES_SUCCESS. Although This patch looks a bit complicated, we > should explicitly specify the length of response data when the request > type is not SD_FLAG_CMD_WRITE, I think. This will post rather burden to programmers and I guess in the future many people will be likely repeating to forget this kind of assignment. I am not sure if we can modify STAT_CLUSTER to adopt to our expected changes. If not, we at least should provide one helper function to do the finale work of the failure request instead of manual hard-code. Thanks, Yuan |