Re: rados callbacks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/8/1 Sage Weil <sage@xxxxxxxxxxxx>:
> On Mon, 1 Aug 2011, Gregory Farnum wrote:
>> On Mon, Aug 1, 2011 at 8:23 AM, Yehuda Sadeh Weinraub
>> <yehuda.sadeh@xxxxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux