GFS2: Re-add a call to log_flush_wait when flushing the journal
authorBob Peterson <rpeterso@redhat.com>
Wed, 12 Mar 2014 14:34:16 +0000 (10:34 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 12 Mar 2014 14:46:29 +0000 (14:46 +0000)
commit428fd95d859b24fea448380fa21ad6d841b34241
treedcb8310736ab2a0dcb050c75dc37fb934c37d880
parent01b172b7b10146cf5f02604047bee065cfb49946
GFS2: Re-add a call to log_flush_wait when flushing the journal

Upstream commit 34cc178 changed a line of code from calling function
log_flush_commit to calling log_write_header. This had the effect of
eliminating a call to function log_flush_wait. That causes the journal
to skip over log headers, which results in multiple wrap points,
which itself leads to infinite loops in journal replay, both in the
kernel code and fsck.gfs2 code. This patch re-adds that call.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/log.c
This page took 0.028521 seconds and 5 git commands to generate.