engines:nvme: fill command fields as per pi check bits
authorAnkit Kumar <ankit.kumar@samsung.com>
Mon, 11 Sep 2023 16:25:00 +0000 (21:55 +0530)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Sep 2023 16:55:56 +0000 (10:55 -0600)
commite4a9812dee084b058eca6ebde9634a3d573a0079
tree8629952250329ba6a18cf0159549cbe99a81884e
parentba342e585aa512edbd37cf736850fcb3cb5ca76d
engines:nvme: fill command fields as per pi check bits

Fill the application and reference tag field for read and write
command only when pi_chk has the relevant bit set.

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