]> git.karo-electronics.de Git - karo-tx-linux.git/commit
locks: add some tracepoints in the lease handling code
authorJeff Layton <jlayton@poochiereds.net>
Fri, 9 May 2014 18:13:05 +0000 (14:13 -0400)
committerJeff Layton <jlayton@poochiereds.net>
Fri, 9 May 2014 18:13:05 +0000 (14:13 -0400)
commit9f234be73db87ae5247f42e6c710d83e19bd403c
tree5fdc044c1d7eed924a90d101a306ba53617ebac2
parent0e71bcb3ec5d8fba7e534d379ad69933ed6493e0
locks: add some tracepoints in the lease handling code

v2: add a __break_lease tracepoint for non-blocking case

Recently, I needed these to help track down a softlockup when recalling a
delegation, but they might be helpful in other situations as well.

Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Jeff Layton <jlayton@poochiereds.net>
fs/locks.c
include/trace/events/filelock.h [new file with mode: 0644]