Skip to content

fix racy access to FDP placement id array

Kanchan Joshi linux-nvme 2 versions – Applied

Status from this message: Thanks, applied to nvme-7.3.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

- Add a prep patch to unconditionally set ns->head (christoph)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2nvme: set ns->head in nvme_alloc_ns_headdrivers/nvme/host/core.c+6 -31 reply
2/2nvme: fix racy access to FDP placement id arraydrivers/nvme/host/core.c drivers/nvme/host/nvme.h+12 -191 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] fix racy access to FDP placement id array

Patch 1: prep to send non-admin commands from nvme_alloc_ns_head Patch 2: avoid the race by moving fdp registration to nvme_alloc_ns_head

Changes since v1:
- Add a prep patch to unconditionally set ns->head (christoph)

Kanchan Joshi (2):
nvme: set ns->head in nvme_alloc_ns_head
nvme: fix racy access to FDP placement id array

 drivers/nvme/host/core.c | 39 +++++++++++++++++----------------------
 drivers/nvme/host/nvme.h |  1 +
 2 files changed, 18 insertions(+), 22 deletions(-)
Signature · 1 line
2.25.1