mirror of
https://github.com/ceph/ceph
synced 2025-01-18 17:12:29 +00:00
*** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@687 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
13945fe902
commit
784f8ecc83
@ -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();
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "common/Mutex.h"
|
||||
|
||||
#include "Fake.h"
|
||||
#include "FakeStoreBDBCollections.h"
|
||||
//#include "FakeStoreBDBCollections.h"
|
||||
|
||||
|
||||
#include <map>
|
||||
|
Loading…
Reference in New Issue
Block a user