* bbarrierwrite: * * Synchronous barrier write. Start output on a buffer and 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. */
| 2558 | * to the disk. The buffer is released when the output completes. |
| 2559 | */ |
| 2560 | int |
| 2561 | bbarrierwrite(struct buf *bp) |
| 2562 | { |
| 2563 | |
| 2564 | bp->b_flags |= B_BARRIER; |
| 2565 | return (bwrite(bp)); |
| 2566 | } |
| 2567 | |
| 2568 | /* |
| 2569 | * bwillwrite: |