On Aug 23, 2013, Alexandre Oliva <oliva@xxxxxxx> wrote: > On Aug 22, 2013, "Yan, Zheng" <zheng.z.yan@xxxxxxxxx> wrote: >> We updated inode format version to 7 when introducing inode backtrace. >> If we found a inode's format version < 7 when fetching the inode, set >> the inode's backtrace_version to 0, to indicate the inode's backtrace >> is out of data. When touching a inode with backtrace_version == 0, we >> also update its backtrace. >> + if (pi->backtrace_version == 0) >> + pi->update_backtrace(); > AFAICT all this does is to update the backtrace version number in the > cached-in-memory inode. What am I missing? Or is the code missing > something? :-) N/m, I see now that this eventually causes _mark_dirty_parent to be called, which in turn gets the parent attribute updated. inode_t::is_backtrace_updated() means exactly the opposite of what I expected ;-) -- Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.org/ FSF Latin America board member Free Software Evangelist Red Hat Brazil Compiler Engineer -- 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