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

Method get_state

src/client/RWRef.h:126–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 virtual bool is_valid_state(T require) const = 0;
125
126 int64_t get_state() const {
127 std::scoped_lock l{lock};
128 return state;
129 }
130
131 bool check_current_state(T require) const {
132 ceph_assert(is_valid_state(require));

Callers 3

make_requestMethod · 0.45
handle_mds_mapMethod · 0.45
renew_capsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected