]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: delete orphan dirfrags after fragmentating directory
authorYan, Zheng <zheng.z.yan@intel.com>
Thu, 19 Sep 2013 03:07:17 +0000 (11:07 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 4 Oct 2013 09:29:20 +0000 (17:29 +0800)
commit4634d3ce2d14a31d7e0a27985e5b0eac51c84d22
treed77c98ad2b50cbd58badb86c3f59e9512d5dea1b
parentcd4cd3f27ce6957901fdddc71f68f50d529546ea
mds: delete orphan dirfrags after fragmentating directory

delete old dirfrags after the EFragment::OP_COMMIT event is logged.

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