]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: don't look at the request_queue in nvmet_bdev_zone_mgmt_emulate_all
authorChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 08:24:07 +0000 (10:24 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 16:51:39 +0000 (18:51 +0200)
commit4430035ea6111ef40019c15ae9d1af40f0a3834b
tree75735d09e5aff5accf39d7d3132852bbe841555a
parent7ba7af59217da12a33155bdff0561692d409f76c
nvmet: don't look at the request_queue in nvmet_bdev_zone_mgmt_emulate_all

nvmet is a consumer of the block layer and should not directly look at
the request_queue.  Just use the NUMA node ID from the gendisk instead of
the request_queue.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/target/zns.c