Skip to content

nvme-auth: avoid locking during authentication

Hannes Reinecke linux-nvme 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvme-auth: allocate authentication buffer only during transactiondrivers/nvme/host/auth.c+23 -262 replies
2/2nvme-auth: use xarray instead of linked listdrivers/nvme/host/auth.c drivers/nvme/host/nvme.h+66 -531 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] nvme-auth: avoid locking during authentication

Hi all,

blktests have uncovered a possible locking issue in the authentication code. These patches rework the authentication context handling to avoid long-running allocations and switch over to using xarray.

As usual, comments and reviews are welcome.

Hannes Reinecke (2):
nvme-auth: allocate authentication buffer only during transaction
nvme-auth: use xarray instead of linked list

 drivers/nvme/host/auth.c | 163 +++++++++++++++++++++------------------
 drivers/nvme/host/nvme.h |   3 +-
 2 files changed, 88 insertions(+), 78 deletions(-)
Signature · 1 line
2.35.3