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