linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 0/3] nvme: enable retries for authentication commands
@ 2024-01-29  6:39 hare
  2024-01-29  6:39 ` [PATCH 1/3] nvme-auth: open-code single-use macros hare
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: hare @ 2024-01-29  6:39 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Keith Busch, Sagi Grimberg, linux-nvme, Hannes Reinecke

From: Hannes Reinecke <hare@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



^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCHv3 0/3] nvme: enable retries for authentication commands
@ 2024-01-27  9:37 hare
  2024-01-27  9:37 ` [PATCH 3/3] " hare
  0 siblings, 1 reply; 14+ messages in thread
From: hare @ 2024-01-27  9:37 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Keith Busch, Sagi Grimberg, linux-nvme, Hannes Reinecke

From: Hannes Reinecke <hare@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.

Hannes Reinecke (3):
  nvme-auth: open-code single-use macros
  nvme: simplify __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



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-02-01  0:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-29  6:39 [PATCHv4 0/3] nvme: enable retries for authentication commands hare
2024-01-29  6:39 ` [PATCH 1/3] nvme-auth: open-code single-use macros hare
2024-01-29 20:00   ` Sagi Grimberg
2024-01-29  6:39 ` [PATCH 2/3] nvme: change __nvme_submit_sync_cmd() calling conventions hare
2024-01-29 20:00   ` Sagi Grimberg
2024-01-29  6:39 ` [PATCH 2/3] nvme: simplify " hare
2024-01-29 20:01   ` Sagi Grimberg
2024-01-29  6:39 ` [PATCH 3/3] nvme: enable retries for authentication commands hare
2024-01-29  7:10   ` Christoph Hellwig
2024-01-29 20:01   ` Sagi Grimberg
2024-02-01  0:29 ` [PATCHv4 0/3] " Keith Busch
  -- strict thread matches above, loose matches on Subject: below --
2024-01-27  9:37 [PATCHv3 " hare
2024-01-27  9:37 ` [PATCH 3/3] " hare
2024-01-29  6:00   ` Christoph Hellwig
2024-01-29  6:24     ` Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).