diff options
author | Jeff Layton <jlayton@redhat.com> | 2014-02-03 12:13:09 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2014-03-31 08:24:43 -0400 |
commit | 57b65325fe34ec4c917bc4e555144b4a94d9e1f7 (patch) | |
tree | a32ab9e75285537407e5ec95d95056167af7fac4 /fs/fcntl.c | |
parent | c1e62b8fc355e0c3706f1ae0dacb72d1c514dc80 (diff) | |
download | linux-57b65325fe34ec4c917bc4e555144b4a94d9e1f7.tar.gz linux-57b65325fe34ec4c917bc4e555144b4a94d9e1f7.tar.bz2 linux-57b65325fe34ec4c917bc4e555144b4a94d9e1f7.zip |
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: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions