• Jeff Layton's avatar
    locks: skip deadlock detection on FL_FILE_PVT locks · 57b65325
    Jeff Layton authored
    
    
    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>
    57b65325
locks.c 66.7 KB