summaryrefslogtreecommitdiffstats
path: root/include/trace/events/filelock.h
Commit message (Collapse)AuthorAgeFilesLines
* locks: sprinkle some tracepoints around the file locking codeJeff Layton2016-01-081-0/+77
| | | | | | | | | Add some tracepoints around the POSIX locking code. These were useful when tracking down problems when handling the race between setlk and close. Signed-off-by: Jeff Layton <jeff.layton@primarydata.com> Acked-by: "J. Bruce Fields" <bfields@fieldses.org>
* locks: change tracepoint for generic_add_leaseJeff Layton2015-09-211-3/+35
| | | | | | | Add some more helpful info to make it easier to determine why a lease wasn't granted. Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
* locks: generic_delete_lease doesn't need a file_lock at allJeff Layton2014-10-071-7/+7
| | | | | | | | | | | | | Ensure that it's OK to pass in a NULL file_lock double pointer on a F_UNLCK request and convert the vfs_setlease F_UNLCK callers to do just that. Finally, turn the BUG_ON in generic_setlease into a WARN_ON_ONCE with an error return. That's a problem we can handle without crashing the box if it occurs. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
* locks: add some tracepoints in the lease handling codeJeff Layton2014-06-021-0/+96
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>