Re: ext3 file system livelock and file system corruption, 4.9.166 stable kernel

2019-04-03 Thread Greg Kroah-Hartman
On Tue, Apr 02, 2019 at 12:15:58PM -0400, Theodore Ts'o wrote: > On Tue, Apr 02, 2019 at 12:35:07PM +0200, Greg Kroah-Hartman wrote: > > So you need 5e86bdda4153 ("ext4: cleanup bh release code in > > ext4_ind_remove_space()") applied to all of the stable and LTS kernels > > at the moment (as that

Re: ext3 file system livelock and file system corruption, 4.9.166 stable kernel

2019-04-02 Thread Theodore Ts'o
On Tue, Apr 02, 2019 at 12:35:07PM +0200, Greg Kroah-Hartman wrote: > So you need 5e86bdda4153 ("ext4: cleanup bh release code in > ext4_ind_remove_space()") applied to all of the stable and LTS kernels > at the moment (as that patch only showed up in 5.1-rc1)? > > If so, I need an ack from the

Re: ext3 file system livelock and file system corruption, 4.9.166 stable kernel

2019-04-02 Thread Jan Kara
On Tue 02-04-19 12:35:07, Greg Kroah-Hartman wrote: > On Tue, Apr 02, 2019 at 01:08:45PM +0300, Jari Ruusu wrote: > > To trigger this ext4 file system bug, you need a sparse file with > > correct sparse pattern on old-school ext3 file system. I tried > > more simpler ways to trigger this but those

Re: ext3 file system livelock and file system corruption, 4.9.166 stable kernel

2019-04-02 Thread zhangyi (F)
Hi Jari, Sorry about introduce this livelocks bug. The patch 674a2b272 ("ext4: brelse all indirect buffer in ext4_ind_remove_space()") want to fix a buffer leak problem. The follow-up patch 5e86bdda415 ("ext4: cleanup bh release code in ext4_ind_remove_space()") was just want to do some cleanup

Re: ext3 file system livelock and file system corruption, 4.9.166 stable kernel

2019-04-02 Thread Greg Kroah-Hartman
On Tue, Apr 02, 2019 at 01:08:45PM +0300, Jari Ruusu wrote: > To trigger this ext4 file system bug, you need a sparse file with > correct sparse pattern on old-school ext3 file system. I tried > more simpler ways to trigger this but those attempts did not > trigger the bug. I have provided

ext3 file system livelock and file system corruption, 4.9.166 stable kernel

2019-04-02 Thread Jari Ruusu
To trigger this ext4 file system bug, you need a sparse file with correct sparse pattern on old-school ext3 file system. I tried more simpler ways to trigger this but those attempts did not trigger the bug. I have provided compressed sparse file that reliably triggers the bug. Size of compressed