diff options
author | Abhi Das <adas@redhat.com> | 2018-11-09 16:35:14 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2018-12-11 17:50:36 +0100 |
commit | 98583b3e87303e5941c30d4cf0c117cbfaa89116 (patch) | |
tree | bfd89cc77b7a025e94bd4c2793b92937527f5216 /fs/gfs2/recovery.c | |
parent | gfs2: Fix the gfs2_invalidatepage description (diff) | |
download | linux-98583b3e87303e5941c30d4cf0c117cbfaa89116.tar.xz linux-98583b3e87303e5941c30d4cf0c117cbfaa89116.zip |
gfs2: add more timing info to journal recovery process
Tells you how many milliseconds map_journal_extents and find_jhead
take.
Signed-off-by: Abhi Das <adas@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/recovery.c')
-rw-r--r-- | fs/gfs2/recovery.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/recovery.c b/fs/gfs2/recovery.c index 0f501f938d1c..b0717a074543 100644 --- a/fs/gfs2/recovery.c +++ b/fs/gfs2/recovery.c @@ -460,6 +460,8 @@ void gfs2_recover_func(struct work_struct *work) if (error) goto fail_gunlock_ji; t_jhd = ktime_get(); + fs_info(sdp, "jid=%u: Journal head lookup took %lldms\n", jd->jd_jid, + ktime_ms_delta(t_jhd, t_jlck)); if (!(head.lh_flags & GFS2_LOG_HEAD_UNMOUNT)) { fs_info(sdp, "jid=%u: Acquiring the transaction lock...\n", |