diff options
| author | Kent Overstreet | 2020-11-11 12:33:12 -0500 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:46 -0400 |
| commit | eb8e6e9ccbb4ba37c04a7cff032975b4df7d63c7 (patch) | |
| tree | 946041b0c3ce44e48e4968840527b11e2d1c25d8 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 6d9378f3dcd7b91effdc4ffe1da1a2e8987e9f1e (diff) | |
bcachefs: Deadlock prevention for ei_pagecache_lock
In the dio write path, when get_user_pages() invokes the fault handler
we have a recursive locking situation - we have to handle the lock
ordering ourselves or we have a deadlock: this patch addresses that by
checking for locking ordering violations and doing the unlock/relock
dance if necessary.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
