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

Function buffermode

src/blk/BlockDevice.cc:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48
49blk_access_mode_t buffermode(bool buffered)
50{
51 return buffered ? blk_access_mode_t::BUFFERED : blk_access_mode_t::DIRECT;
52}
53
54std::ostream& operator<<(std::ostream& os, const blk_access_mode_t buffered)
55{

Callers 4

_sync_writeMethod · 0.85
writeMethod · 0.85
aio_writeMethod · 0.85
readMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected