Re: [Ocfs2-devel] [PATCH v3] ocfs2: call journal flush to mark journal as empty after journal recovery when mount

From: Andrew Morton
Date: Tue Dec 17 2019 - 21:23:15 EST


On Tue, 17 Dec 2019 10:12:14 +0800 Joseph Qi <jiangqi903@xxxxxxxxx> wrote:

> > Due to first commit seq 13 recorded in journal super is not consistent
> > with the value recorded in block 1(seq is 14), journal recovery will be
> > terminated before seq 15 even though it is an unbroken commit, inode
> > 8257802 is a new file and it will be lost.
> >
> > Signed-off-by: Kai Li <li.kai4@xxxxxxx>
>
> Reviewed-by: Joseph Qi <joseph.qi@xxxxxxxxxxxxxxxxx>

Do we think this fix should be backported into -stable kernels?