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>
Fri, 2 Apr 2021 16:48:28 +0000 (18:48 +0200)
commited4a854b062b841ebc1aa576f27daf72d07150a5
treed102ebb2412b818e72e9f524fee81b6ba53b82de
parentf4b9e6c90c572519041f4c5d9c4c3dd50aff42d4
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