Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_uring: Add .errdetails to parse CQ status
Background - fio normally prints out the strerr and errno value when facing errors. In case of io_uring_cmd ioengine with --cmd_type=nvme, io_u->error represents the CQ entry status code type and status code which should be parsed as a NVMe error value rather than errno. In io_u error failure condition, it prints out parsed CQ entry error status values with SCT(Status Code Type) and SC(Status Code). The print will be like the following example: fio: io_uring_cmd: /dev/ng0n1: cq entry status (sct=0x00; sc=0x04) If --cmd_type!=nvme, it prints out generic status code like below: fio: io_uring_cmd: /dev/<devnode>: status=0x4 Signed-off-by: Minwoo Im <minwoo.im@samsung.com>
- Loading branch information