diff options
author | David Teigland <teigland@redhat.com> | 2011-02-21 14:58:21 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2011-03-10 10:40:00 -0600 |
commit | 8304d6f24cc1221392b6d61fa9d16631cbd6beb7 (patch) | |
tree | ca9b333d500d2fc56a45263aa08c4093875cbe12 /fs/dlm/debug_fs.c | |
parent | 35d34df711e8b44846e759d8cfddb4ec6877cccb (diff) | |
download | linux-3.10-8304d6f24cc1221392b6d61fa9d16631cbd6beb7.tar.gz linux-3.10-8304d6f24cc1221392b6d61fa9d16631cbd6beb7.tar.bz2 linux-3.10-8304d6f24cc1221392b6d61fa9d16631cbd6beb7.zip |
dlm: record full callback state
Change how callbacks are recorded for locks. Previously, information
about multiple callbacks was combined into a couple of variables that
indicated what the end result should be. In some situations, we
could not tell from this combined state what the exact sequence of
callbacks were, and would end up either delivering the callbacks in
the wrong order, or suppress redundant callbacks incorrectly. This
new approach records all the data for each callback, leaving no
uncertainty about what needs to be delivered.
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/debug_fs.c')
-rw-r--r-- | fs/dlm/debug_fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c index 6b42ba807df..59779237e2b 100644 --- a/fs/dlm/debug_fs.c +++ b/fs/dlm/debug_fs.c @@ -257,12 +257,12 @@ static int print_format3_lock(struct seq_file *s, struct dlm_lkb *lkb, lkb->lkb_status, lkb->lkb_grmode, lkb->lkb_rqmode, - lkb->lkb_bastmode, + lkb->lkb_last_bast.mode, rsb_lookup, lkb->lkb_wait_type, lkb->lkb_lvbseq, (unsigned long long)ktime_to_ns(lkb->lkb_timestamp), - (unsigned long long)ktime_to_ns(lkb->lkb_time_bast)); + (unsigned long long)ktime_to_ns(lkb->lkb_last_bast_time)); return rv; } |