summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-10-14 02:38:00 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-10-14 05:03:03 +0300
commitcb6055e66faa0d4c15587ef67be18bc199aef085 (patch)
treec2da553f08c46b5b46791514001bd2187969fe9b /tools/perf/scripts/python/syscall-counts-by-pid.py
parentb1e562265ed801c36e8817c67c97a47137870ece (diff)
downloadlinux-cb6055e66faa0d4c15587ef67be18bc199aef085.tar.xz
bcachefs: Handle race between stripe reuse, invalidate_stripe_to_dev
When creating a new stripe, we may reuse an existing stripe that has some empty and some nonempty blocks. Generally, the existing stripe won't change underneath us - except for block sector counts, which we copy to the new key in ec_stripe_key_update. But the device removal path can now invalidate stripe pointers to a device, and that can race with stripe reuse. Change ec_stripe_key_update() to check for and resolve this inconsistency. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions