2011/8/1 Sage Weil <[email protected]>:
> On Mon, 1 Aug 2011, Gregory Farnum wrote:
>> On Mon, Aug 1, 2011 at 8:23 AM, Yehuda Sadeh Weinraub
>> <[email protected]> wrote:
>> > The osd first sends the ack when it receives the request
>>
>> Actually it sends an ack when the request is applied in-memory to all
>> the up OSDs in the PG. :)
>
> That was the original intent, at least.  More precisely..
>
>  * ACK means the request is in the page/buffer cache on all replicas
>  * COMMIT means the request is on stable storage on all replicas
>  * COMMIT implies ACK.

Could we make this an option in librbd? A performance mode with a
callback on ACK and a secure mode with callback on COMMIT.

Considered that I have two independent datacenters, the performance
mode should be "quite safe".

I will try this in a few days...

Thanks,
Christian
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to