]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: add new directory to new_dirfrags list
authorSage Weil <sage@newdream.net>
Tue, 18 Nov 2008 04:37:05 +0000 (20:37 -0800)
committerSage Weil <sage@newdream.net>
Tue, 18 Nov 2008 04:37:05 +0000 (20:37 -0800)
commit027fa300a8f1070f20ba155a9497731f23438b82
treec09e16b1590c84a37d43d5c089e66ebd0a499700
parentf3d2dbf8bf1bb95549416c4b35649d38b3f20d17
mds: add new directory to new_dirfrags list

This ensures the directory gets committed before the mkdir event
is trimmed from the journal.  Fixes the failed assertion in
CDir::_fetched seen on mds recovery (due to a missing directory object).
src/mds/CDir.cc
src/mds/CDir.h
src/mds/Server.cc