MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / write_vectored

Method write_vectored

block/src/vhdx_sync.rs:142–155  ·  view source on GitHub ↗
(
        &mut self,
        offset: libc::off_t,
        iovecs: &[libc::iovec],
        user_data: u64,
    )

Source from the content-addressed store, hash-verified

140 }
141
142 fn write_vectored(
143 &mut self,
144 offset: libc::off_t,
145 iovecs: &[libc::iovec],
146 user_data: u64,
147 ) -> AsyncIoResult<()> {
148 self.vhdx_file.lock().unwrap().write_vectored_sync(
149 offset,
150 iovecs,
151 user_data,
152 &self.eventfd,
153 &mut self.completion_list,
154 )
155 }
156
157 fn fsync(&mut self, user_data: Option<u64>) -> AsyncIoResult<()> {
158 self.vhdx_file.lock().unwrap().fsync_sync(

Callers

nothing calls this directly

Calls 1

write_vectored_syncMethod · 0.80

Tested by

no test coverage detected