]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix create_mydir_hierarchy to save dir
authorSage Weil <sage.weil@dreamhost.com>
Tue, 12 Apr 2011 18:07:54 +0000 (11:07 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Tue, 12 Apr 2011 19:39:30 +0000 (12:39 -0700)
commitd7544dd6b10f97ac24d075ca2e5eb6d8d8e86cbf
treebfb474dabfa2a04774cd72e645966c8ac2fd5817
parentc494689062c9c439767e9476767b6822817c7156
mds: fix create_mydir_hierarchy to save dir

Mark the dentries dirty so they get saved to disk (they're not journaled!).
This fixes rstat problems on startup, where populate_mydir was recreating
the entries and munging rstats accordingly.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/mds/MDCache.cc