Re: [syzbot] [ext4?] INFO: task hung in __writeback_inodes_sb_nr (6)

From: Chen Yu
Date: Fri Aug 18 2023 - 12:51:37 EST


Hi,

On 2023-08-18 at 06:10:41 -0700, syzbot wrote:
> syzbot has bisected this issue to:
>
> commit 5904de0d735bbb3b4afe9375c5b4f9748f882945
> Author: Chen Yu <yu.c.chen@xxxxxxxxx>
> Date: Fri Apr 14 12:10:42 2023 +0000
>
> PM: hibernate: Do not get block device exclusively in test_resume mode
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1275be4ba80000
> start commit: 4853c74bd7ab Merge tag 'parisc-for-6.5-rc7' of git://git.k..
> git tree: upstream
> final oops: https://syzkaller.appspot.com/x/report.txt?x=1175be4ba80000
> console output: https://syzkaller.appspot.com/x/log.txt?x=1675be4ba80000
> kernel config: https://syzkaller.appspot.com/x/.config?x=aa796b6080b04102
> dashboard link: https://syzkaller.appspot.com/bug?extid=38d04642cea49f3a3d2e
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=171242cfa80000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17934703a80000
>
> Reported-by: syzbot+38d04642cea49f3a3d2e@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 5904de0d735b ("PM: hibernate: Do not get block device exclusively in test_resume mode")
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

Thanks for reporting this, the commit has set the exclusive open mode incorrectly
for non-snapshot_test mode, I'll post a fix patch.

thanks,
Chenyu