nvme: implement support for relaxed effects
authorKeith Busch <kbusch@kernel.org>
Mon, 5 Feb 2024 19:10:25 +0000 (11:10 -0800)
committerKeith Busch <kbusch@kernel.org>
Tue, 13 Feb 2024 16:46:09 +0000 (08:46 -0800)
commit29f6975332479f92233594901c649ff4d71f8cb6
treef8661b9341d4ff76fb375705bb3bbffb8052bbe1
parent79bd7eab8366b29eaa099908d5694cb473684b9d
nvme: implement support for relaxed effects

NVM Express TP4167 provides a way for controllers to report a relaxed
execution constraint. Specifically, it notifies of exclusivity for IO
vs. admin commands instead of grouping these together. If set, then we
don't need to freeze IO in order to execute that admin command. The
freezing distrupts IO processes, so it's nice to avoid that if the
controller tells us it's not necessary.

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