nvme: warn of unhandled effects only once
authorKeith Busch <kbusch@kernel.org>
Wed, 17 Mar 2021 20:33:41 +0000 (13:33 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 18 Mar 2021 05:17:51 +0000 (06:17 +0100)
commit24e238c9218621e1beb648f781001a784b10b79d
tree6064acecec7a7bb4f079026402f724108930dfca
parent7ad3bbb443acd69d4864b3f47d1255567a429726
nvme: warn of unhandled effects only once

We don't need to repeatedly spam the kernel logs with the same warning
about unhandled passthrough IO effects. Just one warning is sufficient
to observe this condition occurs.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c