engines/io_uring_cmd: friendlier bad bs error msg
authorVincent Fu <vincent.fu@samsung.com>
Mon, 11 Dec 2023 16:25:33 +0000 (16:25 +0000)
committerVincent Fu <vincent.fu@samsung.com>
Mon, 11 Dec 2023 17:07:38 +0000 (17:07 +0000)
commit3cb50530f4a029992a4b2e2c435481f4007c5cb7
tree9aa5b6ac5fb3d66f24849ecd04b76ffd1ff12959
parentbdf99b6836d75683cba5968c40f321748482ae86
engines/io_uring_cmd: friendlier bad bs error msg

It can tricky to specify block sizes for devices formatted in extended
LBA mode because the block sizes are no longer powers of two. Add a
suggested block size in the error message when we abort a job because the
specified block size is not a multiple of the extended LBA size.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
engines/io_uring.c