MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / fsync

Method fsync

fs/xfile.cpp:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 return pio("pwrite", _and_pwrite(), (void*)buf, count, offset);
66 }
67 virtual int fsync() override
68 {
69 for (auto x: m_files)
70 x->fsync();
71 return 0;
72 }
73 virtual int fdatasync() override
74 {
75 for (auto x: m_files)

Callers 3

OVERRIDE_ASYNC0Method · 0.45
xmp_flushFunction · 0.45
xmp_fsyncFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected