]> www.infradead.org Git - users/hch/block.git/commit
nvme-fc: initialize max_hw_sectors earlier
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 18:11:29 +0000 (13:11 -0500)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Feb 2024 15:23:09 +0000 (07:23 -0800)
commitbe854c03b048c25cd8cebe6e1d0c366b9d49f40c
treeced2a0c0c528f8040049287232ff4a88af05f973
parentba151dc24af4885557ab9c5d37ad7afd58090aef
nvme-fc: initialize max_hw_sectors earlier

Initialize max_hw_sectors and max_sectors a little earlier so that
nvme_alloc_admin_tag_set can rely on it to set the initial queue limits.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fc.c