[sheepdog] [PATCH v2 3/3] sheep: add SD_OP_SYNC_VDI and SD_OP_FLUSH_PEER for writeback cache semantics

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Wed Sep 5 07:13:57 CEST 2012


(2012/09/05 12:47), Liu Yuan wrote:
> 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.
>

It seems to be cleaner. I'll include your opinion in the next version.

Thanks,
Hitoshi






More information about the sheepdog mailing list