axboe / fio

Flexible I/O Tester
GNU General Public License v2.0
5.01k stars 1.23k forks source link

io_uring: Fix error status of cqe #1764

Closed minwooim closed 1 month ago

minwooim commented 1 month ago

The 'io_uring_cmd' ioengine returns the status code type and status code of NVMe CQE [27:17] to io_u in case of errors. The first patch fixes the CQE value being returned as negative since it's not an errno. The next one is a trivial patch to support hexadecimal format to 'ignore_error' option to mask values such as the status type and status code in a more comfortable way.