[sheepdog] [PATCH] sheep: handle SD_FLAG_CMD_WRITE in cluster requests

Liu Yuan namei.unix at gmail.com
Wed Aug 29 05:10:20 CEST 2012


On 08/29/2012 12:43 AM, MORITA Kazutaka wrote:
> If SD_FLAG_CMD_WRITE is set, req->data means sent data, so we don't
> need to set response data in sd_notify_handler().  Otherwise, it means
> receive data buffer, so we don't need to set multicast data in
> prepare_cluster_msg().
> 
> This also fixes some local requests which don't set SD_FLAG_CMD_WRITE.

Applied, thanks.

Yuan



More information about the sheepdog mailing list