]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: remove unsupported command noise
authorKeith Busch <kbusch@kernel.org>
Thu, 29 Apr 2021 04:25:58 +0000 (21:25 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 4 May 2021 07:39:26 +0000 (09:39 +0200)
commitd262729988e610e9c58faec897a578208bf6a90b
tree7ba9ce73d6c93651d255cbc6d5874a93db0d6d33
parentf636c31ba2a65964806f7e98efac3c3b947fc1af
nvmet: remove unsupported command noise

Nothing can stop a host from submitting invalid commands. The target
just needs to respond with an appropriate status, but that's not a
target error. Demote invalid command messages to the debug level so
these events don't spam the kernel logs.

Reported-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/admin-cmd.c