On Wed, Nov 29, 2017 at 10:15 AM, Xiaoxi Chen <superdebuger@xxxxxxxxx> wrote: > Hi, > > When reading the early reply logical, i am not very understand > why we can reply to the client before committing to journal? Is there > anywhere the change get persisted or we rely on client-replay when MDS > failure happens? Early reply is similar to the return of syscall on local filesystem. It only tells request initiator that mds has made the change to its cache. Later requests from the same client (request initiator) can read the change. Other clients can not read the change until the change get committed to journal. > If this is the case, what if the client also failed during this period? > If both mds and client failed, the change gets lost. This does not compromise consistency because no other clients have seem the change. > Thanks for providing the hints. > > Xiaoxi > -- > 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 -- 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