diff options
author | Hannes Reinecke <hare@suse.de> | 2024-01-29 07:39:48 +0100 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-01-31 15:59:48 -0800 |
commit | 48dae46676d1acb632a3e1e14d02879d57618b5d (patch) | |
tree | 3db4032e2c293241092d4d0538e6c81ee7391cd0 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | bd2687f2e5940f6ee14bfae787b3c1f5f0574907 (diff) |
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 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions