From 784f8ecc83efe9afa9bbbe5666107deadcc75611 Mon Sep 17 00:00:00 2001 From: sage Date: Mon, 27 Feb 2006 18:42:53 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@687 29311d96-e01e-0410-9327-a35deaab8ce9 --- ceph/mds/MDCache.cc | 8 ++++++-- ceph/osd/FakeStore.h | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ceph/mds/MDCache.cc b/ceph/mds/MDCache.cc index 42a7ad14daf48..3b9e4560eec8b 100644 --- a/ceph/mds/MDCache.cc +++ b/ceph/mds/MDCache.cc @@ -8411,8 +8411,10 @@ void MDCache::unhash_dir_complete(CDir *dir) it != dir->end(); it++) { CInode *in = it->second->inode; - if (in->is_auth()) + if (in->is_auth()) { in->mark_dirty(); + mds->mdlog->submit_entry(new EInodeUpdate(in)); + } } if (!dir->is_frozen_dir()) { @@ -8651,8 +8653,10 @@ void MDCache::handle_unhash_dir(MUnhashDir *m) // inode state dir->inode->inode.hash_seed = 0; - if (dir->inode->is_auth()) + if (dir->inode->is_auth()) { dir->inode->mark_dirty(); + mds->mdlog->submit_entry(new EInodeUpdate(dir->inode)); + } // init gather set hash_gather[dir] = mds->get_cluster()->get_mds_set(); diff --git a/ceph/osd/FakeStore.h b/ceph/osd/FakeStore.h index a69a94515983e..bb128dbef3821 100644 --- a/ceph/osd/FakeStore.h +++ b/ceph/osd/FakeStore.h @@ -20,7 +20,7 @@ #include "common/Mutex.h" #include "Fake.h" -#include "FakeStoreBDBCollections.h" +//#include "FakeStoreBDBCollections.h" #include -- 2.39.5