[Bug 267630] if growfs is hung at system shutdown, disk sync hangs and system never halts/reboots
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267630] if growfs is hung at system shutdown, disk sync hangs and system never halts/reboots"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267630] if growfs is hung at system shutdown, disk sync hangs and system never halts/reboots"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267630] if growfs is hung at system shutdown, disk sync hangs and system never halts/reboots"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267630] if growfs is hung at system shutdown, disk sync hangs and system never halts/reboots"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267630] if growfs is hung at system shutdown, disk sync hangs and system never halts/reboots"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267630] if growfs is hung at system shutdown, disk sync hangs and system never halts/reboots"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267630] if growfs is hung at system shutdown, disk sync hangs and system never halts/reboots"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Nov 2022 00:00:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267630 Bug ID: 267630 Summary: if growfs is hung at system shutdown, disk sync hangs and system never halts/reboots Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: cgull@glup.org In bug 276628, I report an issue with growfs that can cause it to uninterruptibly deadlock. After growfs deadlocks, when the system is rebooted/shutdown, it hangs during disk sync, and never halts/reboots. I think this is because growfs is in disk wait, and cannot be killed, and the UFS ufssuspend state blocks UFS from completing any pending writes. The reproduction is easy: mdconfig -s 20m gpart create -s gpt md0 gpart add -t freebsd-ufs -s 10m -i 1 md0 newfs md0p1 mount /dev/md0p1 /mnt gpart resize -i 1 md0 growfs -y md0p1 > /mnt/growfs.log then, via some other session, halt/reboot/shutdown. Reproduced in 13.1p2 and a -CURRENT snapshot dated Nov 3 07:57 with identifier 'main-n259005-5cc5c9254da'. See bug 276628 for more about the userland side of this problem. -- You are receiving this mail because: You are the assignee for the bug.