engines:io_uring_cmd: disallow verify for e2e pi with extended blocks
authorAnkit Kumar <ankit.kumar@samsung.com>
Mon, 11 Sep 2023 16:24:59 +0000 (21:54 +0530)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Sep 2023 16:55:56 +0000 (10:55 -0600)
commitba342e585aa512edbd37cf736850fcb3cb5ca76d
tree4df0e35630b5e365885e0eaa19a66d33b5b7b4f6
parentca9d8caba8c6c447aae0d3dc4a7f5270c1275782
engines:io_uring_cmd: disallow verify for e2e pi with extended blocks

For extended logical block sizes we cannot use verify when end to end
data protection checks are enabled. The CRC field in PI section of
data buffer creates conflict during verify phase.
The verify check is also redundant as end to end data protection already
ensures data integrity. So disallow use of verify for this case.

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/io_uring.c