]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: quiet user passthrough command errors
authorKeith Busch <kbusch@kernel.org>
Fri, 28 Oct 2022 20:14:15 +0000 (13:14 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 Nov 2022 13:28:27 +0000 (14:28 +0100)
commit854b2b0169e94fe8063a0040a982fe0a2dc21b18
treee50cf2115f12400c12c73e2b664935878e5a1ad7
parentb356e54c618be235f9bf8b641668db9214eaba17
nvme: quiet user passthrough command errors

The driver is spamming the kernel logs for entirely harmless errors from
user space submitting unsupported commands. Just silence the errors.
The application has direct access to command status, so there's no need
to log these.

And since every passthrough command now uses the quiet flag, move the
setting to the common initializer.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Alan Adamson <alan.adamson@oracle.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Tested-by: Alan Adamson <alan.adamson@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
drivers/nvme/host/pci.c