Skip to content

nvme-auth: use xarray and minor fixes

Hannes Reinecke linux-nvme 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6nvme-auth: allocate authentication buffer only during transactiondrivers/nvme/host/auth.c+23 -263 replies
2/6nvme-auth: do not queue authentication if the queue is not livedrivers/nvme/host/auth.c+10 -02 replies
3/6nvme-auth: use xarray instead of linked listdrivers/nvme/host/auth.c drivers/nvme/host/nvme.h+45 -425 replies
4/6nvme-auth: return real error instead of NVME_SC_AUTH_REQUIREDdrivers/nvme/host/auth.c drivers/nvme/host/fabrics.c+11 -90 replies
5/6nvme-auth: set DNR bit on non-retryable errorsdrivers/nvme/host/auth.c+11 -112 replies
6/6nvme-auth: use a define for chap buffer sizedrivers/nvme/host/auth.c+12 -131 reply

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchSagi Grimberg
1/6
2/6
3/6
4/6
5/6
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] nvme-auth: use xarray and minor fixes

Hi all,

this patchset moves the dhchap context allocation to an xarray to avoid locking issues uncovered by blktests. But during review of the original patch several issues were pointed out (like allocating the transaction buffer even if the transaction is finished), and I've found several other issues, too. So I've decided to wrap them all up in a patchset.

So as usual, comments and reviews are welcome.

Hannes Reinecke (6):
nvme-auth: allocate authentication buffer only during transaction
nvme-auth: do not queue authentication if the queue is not live
nvme-auth: use xarray instead of linked list
nvme-auth: return real error instead of NVME_SC_AUTH_REQUIRED
nvme-auth: set DNR bit on non-retryable errors
nvme-auth: use a define for chap buffer size

 drivers/nvme/host/auth.c    | 199 +++++++++++++++++++-----------------
 drivers/nvme/host/fabrics.c |   2 -
 drivers/nvme/host/nvme.h    |   2 +-
 3 files changed, 107 insertions(+), 96 deletions(-)
Signature · 1 line
2.35.3