]> www.infradead.org Git - users/dwmw2/linux.git/commit
nvmet: implement endurance groups
authorKeith Busch <kbusch@kernel.org>
Fri, 1 Nov 2024 21:46:01 +0000 (14:46 -0700)
committerKeith Busch <kbusch@kernel.org>
Mon, 11 Nov 2024 17:49:49 +0000 (09:49 -0800)
commit266b652c65b44fb2ccfa17cdb54ce2ef723deb0a
tree5484d8693ba279683bc03d1c60ba2096cecc6ed5
parent81ee2f28112e33c049f9b507c87660e9a12db590
nvmet: implement endurance groups

Most of the returned information is just stubbed data. The target must
support these in order to report rotational media. Since this driver
doesn't know any better, each namespace is its own endurance group with
the engid value matching the nsid.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/core.c
drivers/nvme/target/admin-cmd.c
include/linux/nvme.h