diff options
author | Alan Huang <mmpgouride@gmail.com> | 2024-10-10 16:21:50 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-01-14 18:45:08 +0300 |
commit | 0ef9ab34f442f7236b5a84a6691959c67639f8b9 (patch) | |
tree | 0f1c6b8c1b61af6a4de292e83517ce92837bf09e /tools/perf/scripts/python/task-analyzer.py | |
parent | cdc419dbf286eeaabb361d5cf5cee2cb566b6f5f (diff) | |
download | linux-0ef9ab34f442f7236b5a84a6691959c67639f8b9.tar.xz |
bcachefs: Do not allow no fail lock request to fail
If the transaction chose itself as a victim before and restarted, it
might request a no fail lock request this time. But it might be added to
others' lock graph and be chose as the victim again, it's no longer safe
without additional check. We can also convert the cycle detector to be
fully RCU-based to solve that unsoundness, but the latency added to trans_put
and additional memory required may not worth it.
Signed-off-by: Alan Huang <mmpgouride@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions