nvmet: expose max queues to configfs
authorDaniel Wagner <dwagner@suse.de>
Mon, 29 Aug 2022 09:28:39 +0000 (11:28 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 Sep 2022 15:55:16 +0000 (17:55 +0200)
commit3e980f5995e0bb4d86fef873a9c9ad66721580d0
tree27c14f08c5cd948e52c5ed2911ad3f5e2838757d
parentd416800776b530ad629b2959909062287339defd
nvmet: expose max queues to configfs

Allow to set the max queues the target supports. This is useful for
testing the reconnect attempt of the host with changing numbers of
supported queues.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/configfs.c