]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
*** empty log message ***
authorsage <sage@29311d96-e01e-0410-9327-a35deaab8ce9>
Mon, 27 Feb 2006 18:42:53 +0000 (18:42 +0000)
committersage <sage@29311d96-e01e-0410-9327-a35deaab8ce9>
Mon, 27 Feb 2006 18:42:53 +0000 (18:42 +0000)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@687 29311d96-e01e-0410-9327-a35deaab8ce9

ceph/mds/MDCache.cc
ceph/osd/FakeStore.h

index 42a7ad14daf4808179a3c47b9dba1a7a06698b67..3b9e4560eec8b524dcb3f12a66e752df42f3cbbe 100644 (file)
@@ -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();
index a69a94515983e06f74d7c798f7336eb0468fd8be..bb128dbef38216f2102f6b644aa985d35ab1ff7b 100644 (file)
@@ -20,7 +20,7 @@
 #include "common/Mutex.h"
 
 #include "Fake.h"
-#include "FakeStoreBDBCollections.h"
+//#include "FakeStoreBDBCollections.h"
 
 
 #include <map>