]> git.baikalelectronics.ru Git - kernel.git/commit
block: Add handling for zone append command in blk_complete_request
authorPankaj Raghav <p.raghav@samsung.com>
Fri, 11 Feb 2022 09:34:25 +0000 (10:34 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 Feb 2022 16:56:13 +0000 (09:56 -0700)
commit61c7c0d1b37fbe9d9d0787c762eed5bfd5fdc9be
tree23b44f5954fb63f1890b0824be3cb57d22304563
parentaffa2e0081af695c586f9b6bb5b92ba90cad1144
block: Add handling for zone append command in blk_complete_request

Zone append command needs special handling to update the bi_sector
field in the bio struct with the actual position of the data in the
device. It is stored in __sector field of the request struct.

Fixes: ef019c2f0447 ("block: add completion handler for fast path")
Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Adam Manzanares <a.manzanares@samsung.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220211093425.43262-2-p.raghav@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c