diff options
author | Gang He <ghe@suse.com> | 2019-07-11 20:53:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-07-12 11:05:41 -0700 |
commit | 8a7f5f4c26dd4e969b5f3b30d06c54dc6a520eda (patch) | |
tree | 0bea969835d37f6427f4e8d09fb5d1693fab8012 /fs/ocfs2/journal.c | |
parent | 0e71666b8b9e21e4cb5d805219eb5ed7c5617ca3 (diff) | |
download | linux-stable-8a7f5f4c26dd4e969b5f3b30d06c54dc6a520eda.tar.gz linux-stable-8a7f5f4c26dd4e969b5f3b30d06c54dc6a520eda.tar.bz2 linux-stable-8a7f5f4c26dd4e969b5f3b30d06c54dc6a520eda.zip |
ocfs2: add last unlock times in locking_state
ocfs2 file system uses locking_state file under debugfs to dump each
ocfs2 file system's dlm lock resources, but the dlm lock resources in
memory are becoming more and more after the files were touched by the
user. it will become a bit difficult to analyze these dlm lock resource
records in locking_state file by the upper scripts, though some files
are not active for now, which were accessed long time ago.
Then, I'd like to add last pr/ex unlock times in locking_state file for
each dlm lock resource record, the the upper scripts can use last unlock
time to filter inactive dlm lock resource record.
Link: http://lkml.kernel.org/r/20190611015414.27754-1-ghe@suse.com
Signed-off-by: Gang He <ghe@suse.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/journal.c')
0 files changed, 0 insertions, 0 deletions