diff options
| author | Nilay Shroff <nilay@linux.ibm.com> | 2026-07-13 17:24:13 +0530 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-07-28 10:37:34 -0700 |
| commit | ca0058e8b599ae75a30e7f53025a46b62905bea3 (patch) | |
| tree | 0596b4701f9bf3a8ed63fd9054356eac46ef2bb4 /tools/perf/scripts/python/parallel-perf.py | |
| parent | d1fdf49b5f7fce5f65ae0d11d484bd7e31cedbb1 (diff) | |
nvme: add context annotations for nvme_ctrl::ana_lock
nvme_parse_ana_log() accesses ANA state protected by ctrl->ana_lock and
therefore requires callers to hold the lock.
Annotate nvme_parse_ana_log() with __must_hold(&ctrl->ana_lock) so that
Clang's lock context analysis can verify the locking requirement at
compile time.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
