[PATCH 5.7 417/477] ext4, jbd2: ensure panic by fix a race between jbd2 abort and ext4 error handlers

2020-06-23 Thread Greg Kroah-Hartman
From: zhangyi (F) commit 7b97d868b7ab2448859668de9222b8af43f76e78 upstream. In the ext4 filesystem with errors=panic, if one process is recording errno in the superblock when invoking jbd2_journal_abort() due to some error cases, it could be raced by another __ext4_abort() which is setting the S

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-09-01 Thread Darrick J. Wong
On Mon, Aug 22, 2016 at 10:33:08AM +0300, Török Edwin wrote: > On 2016-08-18 02:28, Darrick J. Wong wrote: > > On Wed, Aug 17, 2016 at 05:27:25PM +0300, Török Edwin wrote: > >> On 2016-08-08 09:28, Darrick J. Wong wrote: > >>> On Sun, Aug 07, 2016 at 11:56:34PM -0400, Theodore Ts'o wrote: > On

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-22 Thread Török Edwin
On 2016-08-18 02:28, Darrick J. Wong wrote: > On Wed, Aug 17, 2016 at 05:27:25PM +0300, Török Edwin wrote: >> On 2016-08-08 09:28, Darrick J. Wong wrote: >>> On Sun, Aug 07, 2016 at 11:56:34PM -0400, Theodore Ts'o wrote: On Fri, Aug 05, 2016 at 12:15:48PM -0700, Darrick J. Wong wrote: >>>

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-18 Thread Török Edwin
On 2016-08-17 23:02, Johannes Stezenbach wrote: > On Fri, Aug 05, 2016 at 08:11:36PM +0200, Johannes Stezenbach wrote: >> On Fri, Aug 05, 2016 at 10:02:28AM -0700, Darrick J. Wong wrote: >>> >>> When you're back on 4.7, can you apply this patch[1] to see if it fixes >>> the problem? I speculate th

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-17 Thread Darrick J. Wong
On Wed, Aug 17, 2016 at 05:27:25PM +0300, Török Edwin wrote: > On 2016-08-08 09:28, Darrick J. Wong wrote: > > On Sun, Aug 07, 2016 at 11:56:34PM -0400, Theodore Ts'o wrote: > >> On Fri, Aug 05, 2016 at 12:15:48PM -0700, Darrick J. Wong wrote: > > [1] > > https://git.kernel.org/cgit/linux/

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-17 Thread Johannes Stezenbach
On Fri, Aug 05, 2016 at 08:11:36PM +0200, Johannes Stezenbach wrote: > On Fri, Aug 05, 2016 at 10:02:28AM -0700, Darrick J. Wong wrote: > > > > When you're back on 4.7, can you apply this patch[1] to see if it fixes > > the problem? I speculate that the new parallel dir lookup code enables > > mu

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-17 Thread Török Edwin
On 2016-08-08 09:28, Darrick J. Wong wrote: > On Sun, Aug 07, 2016 at 11:56:34PM -0400, Theodore Ts'o wrote: >> On Fri, Aug 05, 2016 at 12:15:48PM -0700, Darrick J. Wong wrote: > [1] > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/ext4/inode.c?id=b47820edd1634dc

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-09 Thread Török Edwin
On 2016-08-09 05:37, Darrick J. Wong wrote: > On Tue, Aug 09, 2016 at 12:13:01AM +0300, Török Edwin wrote: >> On 2016-08-08 19:55, Darrick J. Wong wrote: >>> On Mon, Aug 08, 2016 at 12:08:18PM -0400, Theodore Ts'o wrote: On Sun, Aug 07, 2016 at 11:28:10PM -0700, Darrick J. Wong wrote: > >>

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-08 Thread Darrick J. Wong
On Tue, Aug 09, 2016 at 12:13:01AM +0300, Török Edwin wrote: > On 2016-08-08 19:55, Darrick J. Wong wrote: > > On Mon, Aug 08, 2016 at 12:08:18PM -0400, Theodore Ts'o wrote: > >> On Sun, Aug 07, 2016 at 11:28:10PM -0700, Darrick J. Wong wrote: > >>> > >>> I have one lingering concern -- is it a bug

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-08 Thread Török Edwin
On 2016-08-08 19:55, Darrick J. Wong wrote: > On Mon, Aug 08, 2016 at 12:08:18PM -0400, Theodore Ts'o wrote: >> On Sun, Aug 07, 2016 at 11:28:10PM -0700, Darrick J. Wong wrote: >>> >>> I have one lingering concern -- is it a bug that two processes could be >>> computing the checksum of a buffer sim

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-08 Thread Darrick J. Wong
On Mon, Aug 08, 2016 at 12:08:18PM -0400, Theodore Ts'o wrote: > On Sun, Aug 07, 2016 at 11:28:10PM -0700, Darrick J. Wong wrote: > > > > I have one lingering concern -- is it a bug that two processes could be > > computing the checksum of a buffer simultaneously? I would have thought > > ext4 >

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-08 Thread Theodore Ts'o
On Sun, Aug 07, 2016 at 11:28:10PM -0700, Darrick J. Wong wrote: > > I have one lingering concern -- is it a bug that two processes could be > computing the checksum of a buffer simultaneously? I would have thought ext4 > would serialize that kind of buffer_head access... Do we know how this is

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-07 Thread Darrick J. Wong
On Sun, Aug 07, 2016 at 11:56:34PM -0400, Theodore Ts'o wrote: > On Fri, Aug 05, 2016 at 12:15:48PM -0700, Darrick J. Wong wrote: > > > > [1] > > > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/ext4/inode.c?id=b47820edd1634dc1208f9212b7ecfb4230610a23 > > > > > > I ad

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-07 Thread Theodore Ts'o
On Fri, Aug 05, 2016 at 12:15:48PM -0700, Darrick J. Wong wrote: > > > [1] > > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/ext4/inode.c?id=b47820edd1634dc1208f9212b7ecfb4230610a23 > > > > I added the patch, rebuilt and rebooted. It will take some time > > before I

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-05 Thread Darrick J. Wong
On Fri, Aug 05, 2016 at 08:11:36PM +0200, Johannes Stezenbach wrote: > On Fri, Aug 05, 2016 at 10:02:28AM -0700, Darrick J. Wong wrote: > > On Fri, Aug 05, 2016 at 12:35:44PM +0200, Johannes Stezenbach wrote: > > > On Wed, Aug 03, 2016 at 05:50:26PM +0300, Török Edwin wrote: > > > > I have just enc

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-05 Thread Johannes Stezenbach
On Fri, Aug 05, 2016 at 10:02:28AM -0700, Darrick J. Wong wrote: > On Fri, Aug 05, 2016 at 12:35:44PM +0200, Johannes Stezenbach wrote: > > On Wed, Aug 03, 2016 at 05:50:26PM +0300, Török Edwin wrote: > > > I have just encountered a similar problem after I've recently upgraded to > > > 4.7.0: > >

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-05 Thread Darrick J. Wong
On Fri, Aug 05, 2016 at 12:35:44PM +0200, Johannes Stezenbach wrote: > On Wed, Aug 03, 2016 at 05:50:26PM +0300, Török Edwin wrote: > > I have just encountered a similar problem after I've recently upgraded to > > 4.7.0: > > [Wed Aug 3 11:08:57 2016] EXT4-fs error (device dm-1): dx_probe:740: ino

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-05 Thread Johannes Stezenbach
On Wed, Aug 03, 2016 at 05:50:26PM +0300, Török Edwin wrote: > I have just encountered a similar problem after I've recently upgraded to > 4.7.0: > [Wed Aug 3 11:08:57 2016] EXT4-fs error (device dm-1): dx_probe:740: inode > #13295: comm python: Directory index failed checksum > [Wed Aug 3 11:0

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-03 Thread Török Edwin
Hi, I have just encountered a similar problem after I've recently upgraded to 4.7.0: [Wed Aug 3 11:08:57 2016] EXT4-fs error (device dm-1): dx_probe:740: inode #13295: comm python: Directory index failed checksum [Wed Aug 3 11:08:57 2016] Aborting journal on device dm-1-8. [Wed Aug 3 11:08:57

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-07-27 Thread Johannes Stezenbach
On Mon, Jul 18, 2016 at 04:17:23PM +0200, Johannes Stezenbach wrote: > On Mon, Jul 18, 2016 at 09:38:43AM -0400, Theodore Ts'o wrote: > > On Mon, Jul 18, 2016 at 12:57:07PM +0200, Johannes Stezenbach wrote: > > > > > > I'm running 4.7.0-rc7 with ext4 on lvm on dm-crypt on SSD > > > and out of the

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-07-18 Thread Johannes Stezenbach
On Mon, Jul 18, 2016 at 09:38:43AM -0400, Theodore Ts'o wrote: > On Mon, Jul 18, 2016 at 12:57:07PM +0200, Johannes Stezenbach wrote: > > > > I'm running 4.7.0-rc7 with ext4 on lvm on dm-crypt on SSD > > and out of the blue on idle machine the following error > > message appeared: > > > > [373851

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-07-18 Thread Theodore Ts'o
On Mon, Jul 18, 2016 at 12:57:07PM +0200, Johannes Stezenbach wrote: > > I'm running 4.7.0-rc7 with ext4 on lvm on dm-crypt on SSD > and out of the blue on idle machine the following error > message appeared: > > [373851.683131] EXT4-fs (dm-3): error count since last fsck: 1 > [373851.683151] EXT

4.7.0-rc7 ext4 error in dx_probe

2016-07-18 Thread Johannes Stezenbach
Hi, I'm running 4.7.0-rc7 with ext4 on lvm on dm-crypt on SSD and out of the blue on idle machine the following error message appeared: [373851.683131] EXT4-fs (dm-3): error count since last fsck: 1 [373851.683151] EXT4-fs (dm-3): initial error at time 1468438194: dx_probe:740: inode 22288562 [3

Re: ext4 error

2016-04-13 Thread Theodore Ts'o
On Wed, Apr 13, 2016 at 01:44:55PM +, Eric Shang wrote: > HI All: > I meet an ext4 error, following is the error log. After panic, I check the > emmc by the tool debufs, the inode 69878 i_nlink is not zero. And this inode > don't belong to parent dir 6987, it belong t

答复: ext4 error

2016-04-13 Thread Eric Shang
; adilger.ker...@dilger.ca; linux-nvd...@lists.01.org; linux-fsde...@vger.kernel.org; linux-e...@vger.kernel.org; x...@oss.sgi.com; linux-kernel@vger.kernel.org 主题: Re: ext4 error On Wed, 2016-04-13 at 13:44 +, Eric Shang wrote: > HI All: >   I meet an ext4 error, following is the error log. After

Re: ext4 error

2016-04-13 Thread Toshi Kani
On Wed, 2016-04-13 at 13:44 +, Eric Shang wrote: > HI All: >   I meet an ext4 error, following is the error log. After panic, I check the > emmc by the tool debufs, the inode 69878 i_nlink is not zero. And this inode > don't belong to parent dir 6987, it belong to other file(

ext4 error

2016-04-13 Thread Eric Shang
HI All: I meet an ext4 error, following is the error log. After panic, I check the emmc by the tool debufs, the inode 69878 i_nlink is not zero. And this inode don't belong to parent dir 6987, it belong to other file(this inode belong to two files when check by debugfs ncheck), I guess