summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-10-20 12:24:36 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-31 12:18:37 -0400
commit253ba178c8d9065748fa56b39343e6a5a55b0023 (patch)
tree694780b446d4269f0a5f5066dbf80cfff0e06ed6 /tools/perf/scripts/python/libxed.py
parenta1d97d8417d3c2f2477847541303621c32652976 (diff)
downloadlinux-253ba178c8d9065748fa56b39343e6a5a55b0023.tar.gz
linux-253ba178c8d9065748fa56b39343e6a5a55b0023.zip
bcachefs: Fix ca->oldest_gen allocation
The ca->oldest_gen array needs to be the same size as the bucket_gens array; ca->mi.nbuckets is updated with only state_lock held, not gc_lock, so bch2_gc_gens() could race with device resize and allocate too small of an oldest_gens array. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions