mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
6bf5d2b6b4
uring::SubmitQueue has pre-allocated io_vecs field inside it, and prep_next_sqe provides a caller with an io_vec so that the caller doesn't have to allocate an io_vec by itself. This used to be used by add_rw_op before. However, no caller uses this given io_vec, but they allocate io_vec by themselves. This change removes io_vecs from the arguments of prep_next_sqe, and refactor SubmitQueue structure to make it simpler. BUG=None TEST=cargo test -p io_uring. A vm launches by crosvm run --async-executor uring... Change-Id: I07bb2f496d3a2e4ca038a4dd861dd80b87ba41ef Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4546822 Commit-Queue: Takaya Saeki <takayas@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
tests | ||
bindgen.sh | ||
Cargo.toml |