nvme: mark internal passthru request RQF_QUIET
authorChaitanya Kulkarni <kch@nvidia.com>
Tue, 19 Apr 2022 22:53:51 +0000 (15:53 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 16 May 2022 06:06:59 +0000 (08:06 +0200)
commit128126a7943622424350752a71be5bb95e7946db
treef65ffe641d61fdbde61196ad425f39022fab9910
parentda3340e77eeb4ced79784eaadbcc529e1ecef673
nvme: mark internal passthru request RQF_QUIET

Most of the internal passthru commands use __nvme_submit_sync_cmd()
interface. There are few places we open code the request submission :-

1. nvme_keep_alive_work(struct work_struct *work)
2. nvme_timeout(struct request *req, bool reserved)
3. nvme_delete_queue(struct nvme_queue *nvmeq, u8 opcode)

Mark the internal passthru request quiet so that we can skip the verbose
error message from nvme_log_error() in nvme_end_req() completion path,
this will be consistent with what we have in __nvme_submit_sync_cmd().

Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-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