unsafe fn flush_disk_buffer(blk_driver: &mut VirtioBlkDriver) -> usizeExpand description
Flush the disk write buffer to the block device.
Writes the buffered data as one or more sector writes. Returns the number of bytes written, or 0 on error.
unsafe fn flush_disk_buffer(blk_driver: &mut VirtioBlkDriver) -> usizeFlush the disk write buffer to the block device.
Writes the buffered data as one or more sector writes. Returns the number of bytes written, or 0 on error.