On 08/26/2012 03:54 PM, MORITA Kazutaka wrote:
> +static void notify_recovery_completion_work(struct work *work)
> +{
> +     struct recovery_work *rw = container_of(work, struct recovery_work,
> +                                             work);
> +     struct sd_req hdr;
> +     int ret;
> +
> +     sd_init_req(&hdr, SD_OP_COMPLETE_RECOVERY);
> +     hdr.epoch = rw->epoch;
> +     hdr.flags = SD_FLAG_CMD_WRITE;
> +     hdr.data_length = sizeof(sys->this_node);
> +
> +     ret = exec_local_req(&hdr, &sys->this_node);

Why not send request directly rather than send it via gateway?

Thanks,
Yuan
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to