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)
commit4a20342572f66c5b20a1ee680f5ac0a13703748f
tree7ba9ce73d6c93651d255cbc6d5874a93db0d6d33
parentce86dad222e9074d3ec174ec81cb463a770331b5
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