]> www.infradead.org Git - users/hch/block.git/commit
nvme: use the atomic queue limits update API
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 18:00:25 +0000 (13:00 -0500)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Mar 2024 12:59:29 +0000 (05:59 -0700)
commit185acd2d1d2992088b2927296b684e22958eaa43
tree17a8be826811e5a2c2e0ef5ebb8bb4fe005ed96c
parent89c5f42be8867cae0cab1d6625c2a30c915316db
nvme: use the atomic queue limits update API

Changes the callchains that update queue_limits to build an on-stack
queue_limits and update it atomically.  Note that for now only the
admin queue actually passes it to the queue allocation function.
Doing the same for the gendisks used for the namespaces will require
a little more work.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/apple.c
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/zns.c