MCPcopy Create free account
hub / github.com/ceph/ceph / DentryIdent

Class DentryIdent

src/mds/DamageTable.h:87–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85};
86
87class DentryIdent
88{
89 public:
90 DentryIdent(std::string_view dname_, snapid_t snap_id_)
91 : dname(dname_), snap_id(snap_id_)
92 {}
93
94 bool operator<(const DentryIdent &rhs) const
95 {
96 if (dname == rhs.dname) {
97 return snap_id < rhs.snap_id;
98 } else {
99 return dname < rhs.dname;
100 }
101 }
102
103 std::string dname;
104 snapid_t snap_id;
105};
106
107/**
108 * Registry of in-RADOS metadata damage identified

Callers 2

notify_dentryMethod · 0.85
is_dentry_damagedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected