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>
This commit is contained in:

committed by
Andreas Gruenbacher

parent
0ebbe4f974
commit
98583b3e87
@@ -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",
|
||||
|
Reference in New Issue
Block a user