MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / bioCreateCloseJob

Function bioCreateCloseJob

src/bio.cpp:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void bioCreateCloseJob(int fd) {
155 struct bio_job *job = (bio_job*)zmalloc(sizeof(*job));
156 job->fd = fd;
157
158 bioSubmitJob(BIO_CLOSE_FILE, job);
159}
160
161void bioCreateFsyncJob(int fd) {
162 struct bio_job *job = (bio_job*)zmalloc(sizeof(*job));

Callers 3

bg_unlinkFunction · 0.85
readSyncBulkPayloadRdbFunction · 0.85

Calls 2

zmallocFunction · 0.85
bioSubmitJobFunction · 0.85

Tested by

no test coverage detected