[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201028033839.GK5691@mit.edu>
Date: Tue, 27 Oct 2020 23:38:39 -0400
From: "Theodore Y. Ts'o" <tytso@....edu>
To: Luo Meng <luomeng12@...wei.com>
Cc: adilger.kernel@...ger.ca, linux-ext4@...r.kernel.org, jack@...e.cz
Subject: Re: [PATCH] ext4: fix invalid inode checksum
On Tue, Oct 20, 2020 at 09:36:31AM +0800, Luo Meng wrote:
> During the stability test, there are some errors:
> ext4_lookup:1590: inode #6967: comm fsstress: iget: checksum invalid.
>
> If the inode->i_iblocks too big and doesn't set huge file flag, checksum
> will not be recalculated when update the inode information to it's buffer.
> If other inode marks the buffer dirty, then the inconsistent inode will
> be flushed to disk.
>
> Fix this problem by checking i_blocks in advance.
>
> Signed-off-by: Luo Meng <luomeng12@...wei.com>
Thanks, this has been applied.
- Ted
Powered by blists - more mailing lists