mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-07 11:10:44 +00:00
scoutfs: locking_state needs to include cwmode stats
This was inadvertantly left out of the main CW locking commit. We simply need to seq_print the new fields. We add them to the end of the line, thus preserving backwards compatibility with old versions of the debug format. Signed-off-by: Mark Fasheh <mfasheh@versity.com>
This commit is contained in:
@@ -1889,6 +1889,17 @@ static int ocfs2_dlm_seq_show(struct seq_file *m, void *v)
|
||||
lock_max_exmode(lockres),
|
||||
lock_refresh(lockres));
|
||||
|
||||
seq_printf(m, "%u\t"
|
||||
"%u\t"
|
||||
"%u\t"
|
||||
"%llu\t"
|
||||
"%u\t",
|
||||
lockres->l_cw_holders,
|
||||
lock_num_cwmode(lockres),
|
||||
lock_num_cwmode_failed(lockres),
|
||||
lock_total_cwmode(lockres),
|
||||
lock_max_cwmode(lockres));
|
||||
|
||||
/* End the line */
|
||||
seq_printf(m, "\n");
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user