[Bug 267630] if growfs is hung at system shutdown, disk sync hangs and system never halts/reboots
Date: Thu, 29 Dec 2022 20:56:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267630
--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=701b36961cbd2084c36eb828402d0ef89211d929
commit 701b36961cbd2084c36eb828402d0ef89211d929
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-12-28 18:14:52 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-12-29 20:55:39 +0000
ufs/suspend: deny suspension if the calling process has a file from mp
opened for write
Also deny suspension if we cannot check the above condition race-free
because there is more than one thread in the calling process.
PR: 267628, 267630
Reviewed by: mckusick
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D37896
sys/ufs/ffs/ffs_suspend.c | 11 +++++++++++
1 file changed, 11 insertions(+)
--
You are receiving this mail because:
You are the assignee for the bug.