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

Method nonblocking_fsync

src/client/Client.cc:13261–13271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13259}
13260
13261int64_t Client::nonblocking_fsync(Inode *in, bool syncdataonly, Context *onfinish)
13262{
13263 C_nonblocking_fsync_state *state = new C_nonblocking_fsync_state(this, in, syncdataonly, onfinish);
13264
13265 ldout(cct, 10) << __func__ << dendl;
13266
13267 std::unique_lock cl(client_lock);
13268 // Kick fsync off...
13269 state->advance();
13270 return 0;
13271}
13272
13273int Client::_fsync(Inode *in, bool syncdataonly)
13274{

Callers 1

Calls 1

advanceMethod · 0.45

Tested by

no test coverage detected