[PATCHv4 0/3] nvme: enable retries for authentication commands
hare at kernel.org
hare at kernel.org
Sun Jan 28 22:39:44 PST 2024
From: Hannes Reinecke <hare at suse.de>
Hi all,
authentitication commands are normal NVMe commands, and should be retried
if returned with a status where the DNR bit is not set. But instead of
having the caller retry the commaand this patchset enables the function
__nvme_submit_sync_cmd() to not set the FASTFAIL flag in the request,
thereby making the functionality generally available.
As usual, comments and reviews are welcome.
Changes to v3:
- Modify patch description as suggested by Christoph
Hannes Reinecke (3):
nvme-auth: open-code single-use macros
nvme: change __nvme_submit_sync_cmd() calling conventions
nvme: enable retries for authentication commands
drivers/nvme/host/auth.c | 17 ++++++++---------
drivers/nvme/host/core.c | 21 ++++++++++++++-------
drivers/nvme/host/fabrics.c | 18 +++++++++++-------
drivers/nvme/host/nvme.h | 19 +++++++++++++++++--
4 files changed, 50 insertions(+), 25 deletions(-)
--
2.35.3
More information about the Linux-nvme
mailing list