From nobody Thu Dec 29 20:56:42 2022 X-Original-To: fs@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 4Njgfz022fz2lFjS for ; Thu, 29 Dec 2022 20:56:43 +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 4Njgfy3tWkz3lWw for ; Thu, 29 Dec 2022 20:56:42 +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=1672347402; 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=BabvUL9pK2aopppjgUDQwvDmINKl4e7zkh1SftCX6LA=; b=uIwaLFoaAJ5cDWvjr+eG7+ZYio1snsGSRKwww/hS64kbyPGafYsYLf8GyB0j+ByApMDOzl OjQkppUdygkH09cQSRsSrZ5ikTRKd9MwlNrp0C/197G9HsaZfYT6sQroNaS05iZ14LczJZ NxR34Kxp3vWNW5QiOI0p8MDyL4VCsvx+GLsHbe6H11LFI6yWlJ92rjciD0akkCffy8H93P IIZSB7OmBvG+PkkfvvvmIda/vW+h7ITgw9EGws+eAS3InPygTVUSMNGSuDNsF6HUX6YlKu lTadqZTz1O5rvHJjxWOwD2DcSNCtwcDav4DAMfPBLpcper2MYUt32JNitdddqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672347402; a=rsa-sha256; cv=none; b=oG5JpAbAToH8IUQYtP8OxT3XnF+eS9729YgP3YTXIluXw9MLRjJTIgxQ8UaN+eMGURXBtX /O2cyb8Zn0tgFWw5IHXOb60WWVg931V+/+F8P1DtKJ/qL4TGzogMSWguwbPKGeB/ht+VAM CrKQqHLYrfF03ZgS0UOUqex7rVEDypYI2rh8p+gAR49CurUY5tjwwzDFyGSY82+K1eihqO FaYq5B2kx9PDwGpr9rHmwlefEQP7ZPhdvVd/7FSggXSzNFcuWFxnFaa0/yuxCrn2f/Fh66 z4tSQRJP2Sm/1TN331xW64mZy8fD0Wfi6XnySRe6lE25yVN/U/SPUuJNHkljQA== 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 4Njgfy2jyWzj4b for ; Thu, 29 Dec 2022 20:56:42 +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 2BTKugfh008868 for ; Thu, 29 Dec 2022 20:56:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BTKugGQ008866 for fs@FreeBSD.org; Thu, 29 Dec 2022 20:56:42 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: fs@FreeBSD.org Subject: [Bug 267628] growfs deadlocks if output is redirected to the filesystem being grown Date: Thu, 29 Dec 2022 20:56:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin 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: fs@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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267628 --- Comment #4 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.=