We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed6ff3 commit 47a5d48Copy full SHA for 47a5d48
riffle-server/src/store/local/uring_io.rs
@@ -311,13 +311,12 @@ impl UringIoEngineShard {
311
self.write_inflight += 1;
312
// https://github.com/tokio-rs/io-uring/blob/master/io-uring-test/src/utils.rs#L95
313
use libc::iovec;
314
-
315
let slices: Vec<iovec> = ctx
316
.w_bufs
317
.iter()
318
.map(|b| iovec {
319
- iov_base: b.as_ptr() as *mut _,
320
- iov_len: b.len(),
+ iov_base: b.ptr as *mut _,
+ iov_len: b.len,
321
})
322
.collect();
323
opcode::Writev::new(fd, slices.as_ptr(), slices.len() as _)
0 commit comments