axboe / liburing

Library providing helpers for the Linux kernel io_uring support
MIT License
2.83k stars 402 forks source link

Can I get the nvme cqe status from io_uring passthrough command? #1094

Closed suxinggm closed 1 day ago

suxinggm commented 6 months ago

I already finish to send nvme command with io_uring_passthrough path. But I only can check cqe->res is 0 or not to confirm the command is executed correctly or not. I print all big_cqe data and they are all 0. So, can I get the real nvme cqe data with this way?

axboe commented 6 months ago

2nd part of the big cqe res is the nvme result.