unsafe fn buffer_disk_write(
blk_driver: &mut VirtioBlkDriver,
data: &[u8],
) -> usizeExpand description
Add data to the disk write buffer. Automatically flushes when buffer is full. Returns the number of bytes consumed from the input.
unsafe fn buffer_disk_write(
blk_driver: &mut VirtioBlkDriver,
data: &[u8],
) -> usizeAdd data to the disk write buffer. Automatically flushes when buffer is full. Returns the number of bytes consumed from the input.