diff options
author | Jeff Layton <[email protected]> | 2024-02-18 08:33:28 -0500 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-02-20 09:53:33 +0100 |
commit | 14786d949a3b8cf00cc32456363b7db22894a0e6 (patch) | |
tree | 01ad61ea133dd50892b29e906d3e19234ff1c840 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 582a3bf999df662c0e0fa4717ce7559f16d7b93b (diff) |
filelock: fix deadlock detection in POSIX locking
The FL_POSIX check in __locks_insert_block was inadvertantly broken
recently and is now inserting only OFD locks instead of only legacy
POSIX locks.
This breaks deadlock detection in POSIX locks, and may also be the root
cause of a performance regression noted by the kernel test robot.
Restore the proper sense of the test.
Fixes: b6be3714005c ("filelock: convert __locks_insert_block, conflict and deadlock checks to use file_lock_core")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-lkp/[email protected]
Signed-off-by: Jeff Layton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: NeilBrown <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions