MCPcopy Create free account
hub / github.com/F-Stack/f-stack / babarrierwrite

Function babarrierwrite

freebsd/kern/vfs_bio.c:2543–2549  ·  view source on GitHub ↗

* babarrierwrite: * * Asynchronous barrier write. Start output on a buffer, but do not * wait for it to complete. Place a write barrier after this write so * that this buffer and all buffers written before it are committed to * the disk before any buffers written after this write are committed * to the disk. The buffer is released when the output completes. */

Source from the content-addressed store, hash-verified

2541 * to the disk. The buffer is released when the output completes.
2542 */
2543void
2544babarrierwrite(struct buf *bp)
2545{
2546
2547 bp->b_flags |= B_ASYNC | B_BARRIER;
2548 (void) bwrite(bp);
2549}
2550
2551/*
2552 * bbarrierwrite:

Callers

nothing calls this directly

Calls 1

bwriteFunction · 0.85

Tested by

no test coverage detected