On Thu, Aug 14, 2014 at 6:32 PM, yuelongguang <fastsync at 163.com> wrote: > hi,all > > By reading the code , i notice everything of a OP is encoded into > Transaction which is writed into journal later. > does journal record everything(meta,xattr,file data...) of a OP. > if so everything is writed into disk twice Yes. >, and journal always reaches full > state, right? Not quite sure what you mean here. The journal is used as a circular buffer and everything is written to it until we reach the end, then we wrap around to the beginning again... -Greg Software Engineer #42 @ http://inktank.com | http://ceph.com