On 09/02/2012 10:34 AM, Hitoshi Mitake wrote:
> +int peer_flush(struct request *req)
> +{
> +     return sd_store->flush();
> +}

I think We'd better check it gateway_only mode at peer_flush(), store
driver should only concentrate on serving the requests.

Thanks,
Yuan

> +int default_flush(void)
> +{
> +     int fd;
> +
> +     if (sys->gateway_only)
> +             return SD_RES_SUCCESS;

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

Reply via email to