From nobody Thu Dec 29 20:56:41 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Njgfx4Zlsz2lFc8 for ; Thu, 29 Dec 2022 20:56:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Njgfx3Lvwz3lWk for ; Thu, 29 Dec 2022 20:56:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672347401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NU2DNRmqbRgDZwO9G40HVW56B1IaoY9Xyl2NkUfBiMc=; b=O4GUdBhfZA1yrieusp/bKQmSq7i0M5Nr1UV9LX5evkyawCMGYGtC/qOLkI9x3pYqoOXJil 3STbMGSFxm2Sa0GXGVH6Hr/kWk7nCGylmNO3lcAr2hKl84hwb9M3DSzSBms+7QmLMWL8hz HFzZtmuGHKf4mj4JPdltDebAcSZGQU2FxuJCPt+H1QeYtbFvCT3WwkJP32sk9KgztF8Cf4 AAeNdgbLdluOOrnUrmbgysY1oH25WaLDjcMW0TDkPxNAcSFB+J5gDtfof7H99IranmWox+ uzqBp1+k56GPqtt9tVBQ7ZMH5WoFuVIVMGG8MVz0stXTjnEDxQIF+Muhj0H7+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672347401; a=rsa-sha256; cv=none; b=wCq0WjfS2kVGoalXpOE+ya4ywGb8HAFgLaEQ8HYJqrHv6INg9FzMKnzjA4JtqwYZGpntt6 Vuu+z9ksTYyPK6GZ4xoNjouLcsxPfytomm431SWPbtWoYOpzs1IgG3hw4iEd99ySJUBweU 7NQCBxoJImP4+8JkKddwzghQY6tO2CnF3a/8HbIKtilw3aOiYTuR1racOBt1Ny7SnWd0cg CzQdCVixOMVkdFKpSDbT92qOUJBy4xrsFYLkrs1Nx5nmyLorlbl+dlsLR7WD/s+bvwEd/k EEVNnGNxeOQcDFzyICPOGJXM4xodvXhHLCrfXFpISRhgURb0cr/vD83xtK5Fbw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Njgfx2SDBzjZr for ; Thu, 29 Dec 2022 20:56:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BTKufIA008847 for ; Thu, 29 Dec 2022 20:56:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BTKufCZ008846 for bugs@FreeBSD.org; Thu, 29 Dec 2022 20:56:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [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 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267630 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D701b36961cbd2084c36eb828402d0ef89= 211d929 commit 701b36961cbd2084c36eb828402d0ef89211d929 Author: Konstantin Belousov AuthorDate: 2022-12-28 18:14:52 +0000 Commit: Konstantin Belousov 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(+) --=20 You are receiving this mail because: You are the assignee for the bug.=