[<prev] [next>] [day] [month] [year] [list]
Message-id: <159772701.338101464765204534.JavaMail.weblogic@epmlwas09b>
Date: Wed, 01 Jun 2016 07:13:25 +0000 (GMT)
From: Daeho Jeong <daeho.jeong@...sung.com>
To: "tytso@....edu" <tytso@....edu>,
"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>
Cc: 정대호 <daeho.jeong@...sung.com>,
길영진 <youngjin.gil@...sung.com>
Subject: Re: [PATCH] e2fsck: update j_tail_sequence after recovery
Hi,
Ping on this.
> When journal is released, s_sequence is set to j_tail_sequence.
> But, currently, even if the recovery process is successfully completed,
> the j_tail_sequence and, finally, s_sequence are never changed. By this,
> when we repeat doing power-off the device suddenly and executing e2fsck
> without full scan before mount, the s_sequence number will never change
> and, in a very rare case, newly generated journal logs will be
> surprisingly grafted to the old journal logs. In this case, out-of-date
> metadata log can be replayed on the filesystem area and the filesystem
> can be crashed unintentionally by journal recovery process. Therefore,
> we need to update j_tail_sequence after recovery process is successfully
> completed in e2fsck.
Powered by blists - more mailing lists