]> www.infradead.org Git - users/hch/block.git/commit
nvme: don't query identify data in configure_metadata
authorChristoph Hellwig <hch@lst.de>
Tue, 27 Feb 2024 17:29:59 +0000 (09:29 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Feb 2024 15:23:08 +0000 (07:23 -0800)
commit866a0787aece91f20f1c0b77bf43d273a00f7bb8
tree187a2e0afb7bde77e0abd0cf7659d04e0992da7c
parenta7dc4ef2421a242e17f9e60a7065a074ccecfeb7
nvme: don't query identify data in configure_metadata

Move reading the Identify Namespace Data Structure, NVM Command Set out
of configure_metadata into the caller.  This allows doing the identify
call outside the frozen I/O queues, and prepares for using data from
the Identify data structure for other purposes.

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