]> 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)
commita2104efaeda2e74951a427c66eac70a2ce456d03
treed102ebb2412b818e72e9f524fee81b6ba53b82de
parente9e9bebe824ff4661c8c28a3bebc5ff76a3133e5
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