]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88e1bc70dca986379dd41f6add3816443092853e
treed102ebb2412b818e72e9f524fee81b6ba53b82de
parent73263289a37a0267721cc44b6daeffaa877a2020
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