On 12/17/24 2:00 PM, Stefan Hajnoczi wrote:OK, thx. I will submit the official patch for review soon after resolving the test bot warning.
On Tue, 17 Dec 2024 at 12:54, Jens Axboe <axboe@xxxxxxxxx> wrote:I think it looks fine.
On 12/16/24 11:08 PM, Jingbo Xu wrote:Are you happy with virtio_blk passthrough or do you want a different approach?
It's not that the traditional io_uring code path is slower, it's in factThat's why I asked Jens to weigh in on whether there is a generic
block layer solution here. If uring_cmd is faster then maybe a generic
uring_cmd I/O interface can be defined without tying applications to
device-specific commands. Or maybe the traditional io_uring code path
can be optimized so that bypass is no longer attractive.
basically the same thing. It's that all the other jazz that happens
below io_uring slows things down, which is why passthrough ends up being
faster.