]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: properly mark dirfrag dirty
authorYan, Zheng <zheng.z.yan@intel.com>
Thu, 6 Dec 2012 01:28:46 +0000 (09:28 +0800)
committerSage Weil <sage@inktank.com>
Mon, 24 Dec 2012 04:01:11 +0000 (20:01 -0800)
commit0ab0744e6f082a25429a113791b3138b31d8fd29
tree967a3f2baacae058fd88652ee738644c4ff51f1a
parent48d8ae58ef7b57116882a6f8f0d7d0ca5a33bc7c
mds: properly mark dirfrag dirty

If predirty_journal_parents() does not propagate changes in dir's
fragstat into corresponding inode's dirstat, it should mark the
inode as dirfrag dirty. This happens when we modify dir fragments
that are auth subtree roots.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/MDCache.cc