MCPcopy Create free account
hub / github.com/apache/trafficserver / sync

Method sync

src/iocore/cache/CacheDisk.cc:226–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226int
227CacheDisk::sync()
228{
229 io.aiocb.aio_offset = skip;
230 io.aiocb.aio_buf = header;
231 io.aiocb.aio_nbytes = header_len;
232 io.thread = AIO_CALLBACK_THREAD_ANY;
233 ink_aio_write(&io);
234 return 0;
235}
236
237int
238CacheDisk::syncDone(int event, void * /* data ATS_UNUSED */)

Callers 1

diskInitializedMethod · 0.45

Calls 1

ink_aio_writeFunction · 0.85

Tested by

no test coverage detected