summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorKanchan Joshi <joshi.k@samsung.com>2026-08-18 11:32:53 +0530
committerKeith Busch <kbusch@kernel.org>2026-08-19 07:48:26 -0700
commit56e1c6bbe4bb084d7ecf61698afdf70be23dd35f (patch)
treed7a6e676eb41b3df23fb7e2f770bb26c38796a93 /tools/lib/python/kdoc/python_version.py
parentc1888444dc28310222dcc6e5c301d60d0943787f (diff)
nvme: fix racy access to FDP placement id array
nvme_query_fdp_info() is called per-path and therefore prone to races. It populates head->nr_plids/head->plids for fdp registration. But nothing protects that pair from concurrent access - two paths scanning the same namespace can race to populate it. Avoid the race by moving this initialization work to nvme_alloc_ns_head() which is called once per shared namespace. Fixes: 30b5f20bb2dd ("nvme: register fdp parameters with the block layer") Reported-by: Hari Mishal <harimishal1@gmail.com> Link: https://lore.kernel.org/linux-nvme/20260725135111.14041-2-harimishal1@gmail.com/ Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kanchan Joshi <joshi.k@samsung.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions