Skip to content
Commit 57b65325 authored by Jeff Layton's avatar Jeff Layton
Browse files

locks: skip deadlock detection on FL_FILE_PVT locks



It's not really feasible to do deadlock detection with FL_FILE_PVT
locks since they aren't owned by a single task, per-se. Deadlock
detection also tends to be rather expensive so just skip it for
these sorts of locks.

Also, add a FIXME comment about adding more limited deadlock detection
that just applies to ro -> rw upgrades, per Andy's request.

Cc: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
parent c1e62b8f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment