yes, the question here is, librbd use the committed callback, as my
understanding, when this callback returned, librbd write will be looked as
completed. So I can issue a read IO even if the data is not readable. In
this case, i would like to know what data will be returned for the read IO?

2015-12-31 10:29 GMT+08:00 Dong Wu <archer.wud...@gmail.com>:

> there are two callbacks: committed and applied, committed means write
> to all replica's journal, applied means write to all replica's file
> system. so when applied callback return to client, it means data can
> be read.
>
> 2015-12-31 10:15 GMT+08:00 min fang <louisfang2...@gmail.com>:
> > Hi, as my understanding, write IO will committed data to journal firstly,
> > then give a safe callback to ceph client. So it is possible that data
> still
> > in journal when I send a read IO to the same area. So what data will be
> > returned if the new data still in journal?
> >
> > Thanks.
> >
> > _______________________________________________
> > ceph-users mailing list
> > ceph-users@lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to