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

Method close

src/client/Client.cc:11157–11164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11155}
11156
11157int Client::close(int fd) {
11158 RWRef_t mref_reader(mount_state, CLIENT_MOUNTING);
11159 if (!mref_reader.is_state_satisfied())
11160 return -ENOTCONN;
11161
11162 std::scoped_lock lock(client_lock);
11163 return _close(fd);
11164}
11165
11166// ------------
11167// read, write

Callers 15

_unmountMethod · 0.45
runMethod · 0.45
play_traceMethod · 0.45
dump_placementMethod · 0.45
make_filesMethod · 0.45
open_sharedMethod · 0.45
overload_osd_0Method · 0.45
write_fileMethod · 0.45
write_fdMethod · 0.45
read_fileMethod · 0.45
read_randomMethod · 0.45
read_random_exMethod · 0.45

Calls 1

is_state_satisfiedMethod · 0.80

Tested by

no test coverage detected