diff options
author | Hannes Reinecke <hare@suse.de> | 2024-01-29 07:39:48 +0100 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-02-01 00:59:48 +0100 |
commit | 48dae46676d1acb632a3e1e14d02879d57618b5d (patch) | |
tree | 3db4032e2c293241092d4d0538e6c81ee7391cd0 /drivers/nvme/common | |
parent | nvme: change __nvme_submit_sync_cmd() calling conventions (diff) | |
download | linux-48dae46676d1acb632a3e1e14d02879d57618b5d.tar.xz linux-48dae46676d1acb632a3e1e14d02879d57618b5d.zip |
nvme: enable retries for authentication commands
Authentication commands might trigger a lengthy computation on the
controller or even a callout to an external entity.
In these cases the controller might return a status without the DNR
bit set, indicating that the command should be retried.
This patch enables retries for authentication commands by setting
NVME_SUBMIT_RETRY for __nvme_submit_sync_cmd().
Reported-by: Martin George <marting@netapp.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme/common')
0 files changed, 0 insertions, 0 deletions