Hello,

On Tue, Mar 07, 2023 at 09:27:45AM -0800, Jaegeuk Kim wrote:
> Hi,
> 
> I think this should fix the issue. By any chance, could you give it a try?
> 
> https://patchwork.kernel.org/project/f2fs/patch/20230307151408.58490-1-c...@kernel.org/

That seems to fix the issue.

Thank you,
        o.

> Thanks,
> 
> On 02/14, Ondřej Jirman wrote:
> > On Tue, Feb 14, 2023 at 10:07:23PM +0100, megi xff wrote:
> > > Hello,
> > > 
> > > I'm trying 6.2-rc8 on my Orange Pi PC and noticed this bug in dmesg and
> > > locked-up fsync. (impossible to write to the filesystem)
> > > 
> > > [...]
> > >
> > > This is a 32bit system.
> > 
> > A bit of followup... I've tried the same kernel on another 32bit system, and
> > also on a 64bit system, and this seems specific to 32bit systems (happens
> > on almost every boot). I've run -rc8 and earlier on several 64bit systems
> > for many days without issues, but the same kernel bugs out on 32bit systems
> > very early during boot.
> > 
> > Here is more debugging output that can be helpful:
> > 
> > sysrq w
> > 
> > [  571.133078] sysrq: Show Blocked State
> > [  571.135646] task:kworker/u8:0    state:D stack:0     pid:9     ppid:2    
> >   flags:0x00000000
> > [  571.135682] Workqueue: writeback wb_workfn (flush-179:0)
> > [  571.135720]  __schedule from schedule+0x50/0xa0
> > [  571.135744]  schedule from schedule_preempt_disabled+0xc/0x10
> > [  571.135763]  schedule_preempt_disabled from 
> > __mutex_lock.constprop.0+0x208/0x50c
> > [  571.135784]  __mutex_lock.constprop.0 from 
> > f2fs_write_data_pages+0x1bc/0x268
> > [  571.135807]  f2fs_write_data_pages from do_writepages+0x60/0x19c
> > [  571.135828]  do_writepages from __writeback_single_inode+0x2c/0x1e0
> > [  571.135845]  __writeback_single_inode from 
> > writeback_sb_inodes+0x1d0/0x410
> > [  571.135863]  writeback_sb_inodes from __writeback_inodes_wb+0x38/0xe4
> > [  571.135880]  __writeback_inodes_wb from wb_writeback+0x170/0x1a8
> > [  571.135898]  wb_writeback from wb_workfn+0x1ec/0x370
> > [  571.135914]  wb_workfn from process_one_work+0x1e8/0x3e8
> > [  571.135941]  process_one_work from worker_thread+0x48/0x540
> > [  571.135961]  worker_thread from kthread+0xd4/0xf0
> > [  571.135981]  kthread from ret_from_fork+0x14/0x1c
> > [  571.136000] Exception stack(0xe0841fb0 to 0xe0841ff8)
> > [  571.136012] 1fa0:                                     00000000 00000000 
> > 00000000 00000000
> > [  571.136024] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 
> > 00000000 00000000
> > [  571.136036] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> > [  571.136071] task:kworker/u8:1    state:D stack:0     pid:47    ppid:2    
> >   flags:0x00000000
> > [  571.136088] Workqueue: writeback wb_workfn (flush-179:0)
> > [  571.136108]  __schedule from schedule+0x50/0xa0
> > [  571.136125]  schedule from schedule_preempt_disabled+0xc/0x10
> > [  571.136142]  schedule_preempt_disabled from 
> > __mutex_lock.constprop.0+0x208/0x50c
> > [  571.136161]  __mutex_lock.constprop.0 from 
> > f2fs_write_data_pages+0x1bc/0x268
> > [  571.136181]  f2fs_write_data_pages from do_writepages+0x60/0x19c
> > [  571.136197]  do_writepages from __writeback_single_inode+0x2c/0x1e0
> > [  571.136213]  __writeback_single_inode from 
> > writeback_sb_inodes+0x1d0/0x410
> > [  571.136231]  writeback_sb_inodes from __writeback_inodes_wb+0x38/0xe4
> > [  571.136248]  __writeback_inodes_wb from wb_writeback+0x170/0x1a8
> > [  571.136265]  wb_writeback from wb_workfn+0x1ec/0x370
> > [  571.136281]  wb_workfn from process_one_work+0x1e8/0x3e8
> > [  571.136303]  process_one_work from worker_thread+0x48/0x540
> > [  571.136323]  worker_thread from kthread+0xd4/0xf0
> > [  571.136341]  kthread from ret_from_fork+0x14/0x1c
> > [  571.136359] Exception stack(0xe08e9fb0 to 0xe08e9ff8)
> > [  571.136370] 9fa0:                                     00000000 00000000 
> > 00000000 00000000
> > [  571.136383] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 
> > 00000000 00000000
> > [  571.136395] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> > [  571.136437] task:kworker/u8:2    state:D stack:0     pid:89    ppid:2    
> >   flags:0x00000000
> > [  571.136454] Workqueue: writeback wb_workfn (flush-179:0)
> > [  571.136473]  __schedule from schedule+0x50/0xa0
> > [  571.136489]  schedule from schedule_preempt_disabled+0xc/0x10
> > [  571.136507]  schedule_preempt_disabled from 
> > __mutex_lock.constprop.0+0x208/0x50c
> > [  571.136526]  __mutex_lock.constprop.0 from 
> > f2fs_write_data_pages+0x1bc/0x268
> > [  571.136546]  f2fs_write_data_pages from do_writepages+0x60/0x19c
> > [  571.136562]  do_writepages from __writeback_single_inode+0x2c/0x1e0
> > [  571.136579]  __writeback_single_inode from 
> > writeback_sb_inodes+0x1d0/0x410
> > [  571.136596]  writeback_sb_inodes from __writeback_inodes_wb+0x38/0xe4
> > [  571.136613]  __writeback_inodes_wb from wb_writeback+0x170/0x1a8
> > [  571.136630]  wb_writeback from wb_workfn+0x1ec/0x370
> > [  571.136646]  wb_workfn from process_one_work+0x1e8/0x3e8
> > [  571.136669]  process_one_work from worker_thread+0x48/0x540
> > [  571.136688]  worker_thread from kthread+0xd4/0xf0
> > [  571.136706]  kthread from ret_from_fork+0x14/0x1c
> > [  571.136724] Exception stack(0xe0a05fb0 to 0xe0a05ff8)
> > [  571.136735] 5fa0:                                     00000000 00000000 
> > 00000000 00000000
> > [  571.136747] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 
> > 00000000 00000000
> > [  571.136759] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> > [  571.136855] task:sshd            state:D stack:0     pid:243   ppid:227  
> >   flags:0x00000005
> > [  571.136880]  __schedule from schedule+0x50/0xa0
> > [  571.136899]  schedule from io_schedule+0x34/0x44
> > [  571.136916]  io_schedule from folio_wait_bit_common+0x150/0x308
> > [  571.136938]  folio_wait_bit_common from __filemap_get_folio+0x1d0/0x3e8
> > [  571.136961]  __filemap_get_folio from pagecache_get_page+0xc/0x3c
> > [  571.136980]  pagecache_get_page from f2fs_write_begin+0x6c/0xc84
> > [  571.136999]  f2fs_write_begin from generic_perform_write+0xa8/0x1b8
> > [  571.137019]  generic_perform_write from 
> > f2fs_buffered_write_iter+0x40/0x9c
> > [  571.137041]  f2fs_buffered_write_iter from 
> > f2fs_file_write_iter+0x69c/0x930
> > [  571.137061]  f2fs_file_write_iter from vfs_write+0x1bc/0x384
> > [  571.137082]  vfs_write from ksys_write+0x54/0xc8
> > [  571.137099]  ksys_write from ret_fast_syscall+0x0/0x4c
> > [  571.137114] Exception stack(0xe0c8dfa8 to 0xe0c8dff0)
> > [  571.137126] dfa0:                   000dd280 00000000 00000005 bea113d4 
> > 00000180 00000000
> > [  571.137140] dfc0: 000dd280 00000000 00000005 00000004 00000002 005b91b8 
> > bea12724 0000001c
> > [  571.137151] dfe0: 00000000 bea11384 b698bf5c b6933c10
> > 
> > Kind regards,
> >     o.
> > 
> > 
> > > Any ideas or suggestions?
> > > 
> > > kind regards,
> > >   o.
> > 
> > 
> > _______________________________________________
> > Linux-f2fs-devel mailing list
> > Linux-f2fs-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to