diff options
Diffstat (limited to 'src/mds/DamageTable.h')
-rw-r--r-- | src/mds/DamageTable.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mds/DamageTable.h b/src/mds/DamageTable.h index 18a61e08b..a1b96fe22 100644 --- a/src/mds/DamageTable.h +++ b/src/mds/DamageTable.h @@ -22,6 +22,7 @@ #include "include/random.h" class CDir; +class CInode; typedef uint64_t damage_entry_id_t; @@ -155,6 +156,12 @@ class DamageTable */ bool notify_remote_damaged(inodeno_t ino, std::string_view path); + void remove_dentry_damage_entry(CDir *dir); + + void remove_dirfrag_damage_entry(CDir *dir); + + void remove_backtrace_damage_entry(inodeno_t ino); + bool is_dentry_damaged( const CDir *dir_frag, std::string_view dname, |