From owner-freebsd-fs@freebsd.org Sun Apr 4 14:20:20 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A0E7F5A802E for ; Sun, 4 Apr 2021 14:20:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCwtD3lyhz3GVR for ; Sun, 4 Apr 2021 14:20:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 80A7A5D7DEA; Sun, 4 Apr 2021 14:20:20 +0000 (UTC) Delivered-To: fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 805955A812F for ; Sun, 4 Apr 2021 14:20:20 +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 4FCwtD2wLdz3GVQ for ; Sun, 4 Apr 2021 14:20:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 50E4726E6C for ; Sun, 4 Apr 2021 14:20:20 +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 134EKKe5083765 for ; Sun, 4 Apr 2021 14:20:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 134EKK0R083764 for fs@FreeBSD.org; Sun, 4 Apr 2021 14:20:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 254721] Swap on ZFS can crash server in high memory usage conditions Date: Sun, 04 Apr 2021 14:20:20 +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: 12.2-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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 MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2021 14:20:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254721 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|fs@FreeBSD.org |bugs@FreeBSD.org --- Comment #1 from Andriy Gapon --- The crash is in UMA code, it does not look directly related to ZFS. Also, what is 12.2-RELEASE-HBSD ? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sun Apr 4 21:00:18 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 185045B4D44 for ; Sun, 4 Apr 2021 21:00:18 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FD5lj40c0z4SGZ for ; Sun, 4 Apr 2021 21:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7D2EB5B4C45; Sun, 4 Apr 2021 21:00:17 +0000 (UTC) Delivered-To: fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7CB515B4C44 for ; Sun, 4 Apr 2021 21:00:17 +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 4FD5lh5YyRz4SPq for ; Sun, 4 Apr 2021 21:00:16 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) 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 63AB544D6 for ; Sun, 4 Apr 2021 21:00:16 +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 134L0G06089219 for ; Sun, 4 Apr 2021 21:00:16 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 134L0G8G089218 for fs@FreeBSD.org; Sun, 4 Apr 2021 21:00:16 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202104042100.134L0G8G089218@kenobi.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: Problem reports for fs@FreeBSD.org that need special attention Date: Sun, 4 Apr 2021 21:00:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2021 21:00:18 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 203492 | mount_unionfs -o below causes panic Open | 144447 | [zfs] sharenfs fsunshare() & fsshare_main() non f Open | 211491 | System hangs after "Uptime" on reboot with ZFS Open | 221909 | [ZFS] Add a sysctl to toggle send_corrupt_data Open | 237067 | ZFS: Crash in vdev_dtl_reassess when using GELI w Open | 240831 | zfs: Panic during snapshot on 12.1-STABLE r352648 Open | 243973 | [zfs] rollback segmentation fault Open | 244656 | zfs: resilver doesn't provide enough information Open | 244692 | gjournal: Does not support TRIM Open | 244899 | [PATCH] zfs: xattr on a symlink target > 136 caus Open | 251035 | [zfs] Allow 64 bit ZFS to support 32 bit ioctls ( 11 problems total for which you should take action. From owner-freebsd-fs@freebsd.org Sun Apr 4 21:46:55 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CFD415B6FFB for ; Sun, 4 Apr 2021 21:46:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FD6nW58M6z4WvM for ; Sun, 4 Apr 2021 21:46:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AD60A5B6D21; Sun, 4 Apr 2021 21:46:55 +0000 (UTC) Delivered-To: fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AD0DF5B6FF8 for ; Sun, 4 Apr 2021 21:46:55 +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 4FD6nW4JD6z4WvL for ; Sun, 4 Apr 2021 21:46:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 85A03515F for ; Sun, 4 Apr 2021 21:46:55 +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 134Lktrh012704 for ; Sun, 4 Apr 2021 21:46:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 134Lktep012703 for fs@FreeBSD.org; Sun, 4 Apr 2021 21:46:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 248342] Bad performance Zvols+CTLD with windows clients Date: Sun, 04 Apr 2021 21:46:55 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: needs-qa, performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: trasz@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: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2021 21:46:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248342 Edward Tomasz Napierala changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trasz@FreeBSD.org --- Comment #7 from Edward Tomasz Napierala --- Ping? Does the problem still happen with eg 13.0-RC? --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sun Apr 4 22:29:54 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 34BD25B8988 for ; Sun, 4 Apr 2021 22:29:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FD7l60XyTz4Zp3 for ; Sun, 4 Apr 2021 22:29:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 124B95B8936; Sun, 4 Apr 2021 22:29:54 +0000 (UTC) Delivered-To: fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 11F645B8935 for ; Sun, 4 Apr 2021 22:29:54 +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 4FD7l56tdyz4Zp2 for ; Sun, 4 Apr 2021 22:29:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 DE5B05579 for ; Sun, 4 Apr 2021 22:29:53 +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 134MTrpp037306 for ; Sun, 4 Apr 2021 22:29:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 134MTrXX037305 for fs@FreeBSD.org; Sun, 4 Apr 2021 22:29:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 248342] Bad performance Zvols+CTLD with windows clients Date: Sun, 04 Apr 2021 22:29:54 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: needs-qa, performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pacanrulit@gmail.com 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 MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2021 22:29:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248342 --- Comment #8 from =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 --- (In reply to Edward Tomasz Napierala from comment #7) We doesnt have problem with 12.1-RELEASE r354233, and 13.0 we unused. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Apr 6 12:22:13 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B0A995CF6DC for ; Tue, 6 Apr 2021 12:22:13 +0000 (UTC) (envelope-from number201724@me.com) Received: from pv50p00im-ztdg10011201.me.com (pv50p00im-ztdg10011201.me.com [17.58.6.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF6906LlVz4kM1 for ; Tue, 6 Apr 2021 12:22:12 +0000 (UTC) (envelope-from number201724@me.com) Received: from [10.0.0.25] (unknown [45.136.2.33]) by pv50p00im-ztdg10011201.me.com (Postfix) with ESMTPSA id 5BB2C2A057A for ; Tue, 6 Apr 2021 12:22:07 +0000 (UTC) From: Raymond Yuan Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Why does ufs choose panic instead of EIO when processing illegal directory data? Message-Id: Date: Tue, 6 Apr 2021 20:21:32 +0800 To: freebsd-fs@freebsd.org X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-04-06_03:2021-04-01, 2021-04-06 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=604 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2104060086 X-Rspamd-Queue-Id: 4FF6906LlVz4kM1 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; DKIM_TRACE(0.00)[me.com:+]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; RCVD_IN_DNSWL_LOW(-0.10)[17.58.6.39:from]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[me.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[17.58.6.39:from]; DWL_DNSWL_NONE(0.00)[me.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[17.58.6.39:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[1.000]; RWL_MAILSPIKE_POSSIBLE(0.00)[17.58.6.39:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-fs] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 12:22:13 -0000 Why does ufs choose panic instead of EIO when processing illegal = directory data? I have a virtual machine. When my database directory is damaged, every = time I start the system, once I start the mysql system, it will panic = and keep panic. Many times when this kind of problem occurs, it is caused by accidental = power failure or panic. The problem is that the file system has been damaged, but after panic, = the last panic crash information will be written to the file system = every time it is started. Is this a bit too dangerous? void ufs_dirbad(ip, offset, how) struct inode *ip; doff_t offset; char *how; { struct mount *mp; mp =3D ITOV(ip)->v_mount; if ((mp->mnt_flag & MNT_RDONLY) =3D=3D 0) panic("ufs_dirbad: %s: bad dir ino %ju at offset %ld: = %s", mp->mnt_stat.f_mntonname, (uintmax_t)ip->i_number, (long)offset, how); else (void)printf("%s: bad dir ino %ju at offset %ld: %s\n", mp->mnt_stat.f_mntonname, (uintmax_t)ip->i_number, (long)offset, how); } ep =3D (struct direct *)((char *)bp->b_data + = entryoffsetinblock); if (ep->d_reclen =3D=3D 0 || ep->d_reclen > DIRBLKSIZ - (entryoffsetinblock & (DIRBLKSIZ - 1)) = || (dirchk && ufs_dirbadentry(vdp, ep, = entryoffsetinblock))) { int i; ufs_dirbad(dp, i_offset, "mangled entry"); i =3D DIRBLKSIZ - (entryoffsetinblock & = (DIRBLKSIZ - 1)); i_offset +=3D i; entryoffsetinblock +=3D i; continue; } From owner-freebsd-fs@freebsd.org Tue Apr 6 12:31:17 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 57DC15CFC0F for ; Tue, 6 Apr 2021 12:31:17 +0000 (UTC) (envelope-from number201724@me.com) Received: from pv50p00im-ztdg10012001.me.com (pv50p00im-ztdg10012001.me.com [17.58.6.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF6MS4lBrz4lXl for ; Tue, 6 Apr 2021 12:31:16 +0000 (UTC) (envelope-from number201724@me.com) Received: from [10.0.0.25] (unknown [45.136.2.33]) by pv50p00im-ztdg10012001.me.com (Postfix) with ESMTPSA id 6AFD32803D5 for ; Tue, 6 Apr 2021 12:31:11 +0000 (UTC) From: YUANRUI Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: UFS SU+J Will it cause data loss under certain circumstances? Or accidentally damage the file system. Message-Id: Date: Tue, 6 Apr 2021 20:31:06 +0800 To: freebsd-fs@freebsd.org X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-04-06_03:2021-04-01, 2021-04-06 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=584 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2104060086 X-Rspamd-Queue-Id: 4FF6MS4lBrz4lXl X-Spamd-Bar: - X-Spamd-Result: default: False [-1.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[17.58.6.51:from]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16:c]; FREEMAIL_FROM(0.00)[me.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[me.com:+]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; RCVD_IN_DNSWL_LOW(-0.10)[17.58.6.51:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[me.com]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; SUBJECT_HAS_QUESTION(0.00)[]; DWL_DNSWL_NONE(0.00)[me.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[17.58.6.51:from]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[17.58.6.51:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-fs] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 12:31:17 -0000 I have a virtual machine and I have saved a snapshot. It seems that = after panic, the file system is damaged, and I cannot successfully = repair the file system using journal (SU+J). Another example is that you are using youtube-dl to download a file, and = then the system panic, the file system is damaged and cannot be repaired = after restart. Can SU+J not handle the power outage problem correctly? From owner-freebsd-fs@freebsd.org Thu Apr 8 03:27:03 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AC8495CCC27 for ; Thu, 8 Apr 2021 03:27:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FG6Bb4KXfz3l9L for ; Thu, 8 Apr 2021 03:27:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9298D5CCC91; Thu, 8 Apr 2021 03:27:03 +0000 (UTC) Delivered-To: fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 926155CCC26 for ; Thu, 8 Apr 2021 03:27:03 +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 4FG6Bb3jFPz3ktr for ; Thu, 8 Apr 2021 03:27:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 725902AB79 for ; Thu, 8 Apr 2021 03:27:03 +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 1383R3ZE006339 for ; Thu, 8 Apr 2021 03:27:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1383R32R006338 for fs@FreeBSD.org; Thu, 8 Apr 2021 03:27:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 159356] [zfs] [patch] ZFS NAME_ERR_DISKLIKE check is Solaris-specific Date: Thu, 08 Apr 2021 03:27:03 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dclarke@blastwave.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal 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 MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2021 03:27:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D159356 --- Comment #10 from Dennis Clarke --- A change was pushed about six hours ago and I did check the master upstream sources where I see that the zpool name check for the leading chars 'c[0-9' has been removed.=20 See https://github.com/openzfs/zfs/commit/895d39aa832a6d90cb15263f8bbe41509baa3= 867 --=20 Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Apr 7 19:50:22 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 308315C27EB for ; Wed, 7 Apr 2021 19:50:22 +0000 (UTC) (envelope-from alexander.lochmann@tu-dortmund.de) Received: from unimail.uni-dortmund.de (mx1.hrz.uni-dortmund.de [129.217.128.51]) (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 (2048 bits) client-digest SHA256) (Client CN "unimail.tu-dortmund.de", Issuer "DFN-Verein Global Issuing CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFw3d2Xl1z4gVN for ; Wed, 7 Apr 2021 19:50:20 +0000 (UTC) (envelope-from alexander.lochmann@tu-dortmund.de) Received: from [192.168.111.113] (p4fd97827.dip0.t-ipconnect.de [79.217.120.39]) (authenticated bits=0) by unimail.uni-dortmund.de (8.16.1/8.16.1) with ESMTPSA id 137JoI0W016455 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 7 Apr 2021 21:50:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tu-dortmund.de; s=unimail; t=1617825018; bh=yXBKj17aWR45f1GYHXP4syuXLnZDYBeKQa5+LWGgKtQ=; h=To:From:Subject:Date; b=iXxm1mH9qrpI3eflzqrisIXa70BP6jGFPUoQ+Dyorh68oqDVrc612As4UyVFtctbB el4KXDAIfelrPr98PdkNlEq8T4Sacpy8qO/yj6LboJB+ZBD/9QZNIQHUmQ9wHuQyi+ S1t3LbwLMPD64qTvVswV0JIt6sImA3sD+xYGb8PI= To: freebsd-fs@freebsd.org From: Alexander Lochmann Subject: [struct mount] Outdated locking documentation for mnt_uppers Message-ID: <53c970ad-bd87-5d7b-8a6c-4e526d96b93b@tu-dortmund.de> Date: Wed, 7 Apr 2021 21:50:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4FFw3d2Xl1z4gVN X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tu-dortmund.de header.s=unimail header.b=iXxm1mH9; dmarc=none; spf=pass (mx1.freebsd.org: domain of alexander.lochmann@tu-dortmund.de designates 129.217.128.51 as permitted sender) smtp.mailfrom=alexander.lochmann@tu-dortmund.de X-Spamd-Result: default: False [-5.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[129.217.128.51:from]; R_SPF_ALLOW(-0.20)[+ip4:129.217.128.0/24]; TO_DN_NONE(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[129.217.128.51:from]; DKIM_TRACE(0.00)[tu-dortmund.de:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:680, ipnet:129.217.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[79.217.120.39:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tu-dortmund.de:s=unimail]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; DMARC_NA(0.00)[tu-dortmund.de]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[tu-dortmund.de:dkim]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-fs] X-Mailman-Approved-At: Thu, 08 Apr 2021 04:43:09 +0000 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2021 19:50:22 -0000 Hi folks, I came accross the locking documentation for struct mount. According to the definition [1], mnt_uppers should be accessed using the global mountlist_mtx. However, the code uses the MNT_ILOCK macro, which uses the mnt_mtx. Is the locking documentation still valid? Shouldn't it be updated? Regards, Alex [1] https://github.com/freebsd/freebsd-src/blob/main/sys/sys/mount.h#L246 -- Technische Universität Dortmund Alexander Lochmann PGP key: 0xBC3EF6FD Otto-Hahn-Str. 16 phone: +49.231.7556141 D-44227 Dortmund fax: +49.231.7556116 http://ess.cs.tu-dortmund.de/Staff/al From owner-freebsd-fs@freebsd.org Thu Apr 8 15:48:02 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 200875DF327 for ; Thu, 8 Apr 2021 15:48:02 +0000 (UTC) (envelope-from alexander.lochmann@tu-dortmund.de) Received: from unimail.uni-dortmund.de (mx1.hrz.uni-dortmund.de [129.217.128.51]) (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 (2048 bits) client-digest SHA256) (Client CN "unimail.tu-dortmund.de", Issuer "DFN-Verein Global Issuing CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FGQdY2q8bz3QSV for ; Thu, 8 Apr 2021 15:48:00 +0000 (UTC) (envelope-from alexander.lochmann@tu-dortmund.de) Received: from [192.168.111.113] (p4fd978d1.dip0.t-ipconnect.de [79.217.120.209]) (authenticated bits=0) by unimail.uni-dortmund.de (8.16.1/8.16.1) with ESMTPSA id 138FlwKK017615 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 8 Apr 2021 17:47:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tu-dortmund.de; s=unimail; t=1617896878; bh=IRYN1KFnF4wv2tRR1OMHSkeQIpkICv8weaZ8H933YCg=; h=To:From:Subject:Date; b=TJfM0p5XwFwh9NVz4vWJINQGRThVtL+sib33AttmFqiAd8rIYEvQ7mmmnGvGgtbz7 I4sQhiq+8BSYYf9kVfw+AB4KaoQr37X+IXy7mcsohYWqKLwMv7n7b05/Rn3F2jJVda wAcOwSxz7jjAO5WDDQlL1xki4yR5BAdjQ8xwQt8M= To: freebsd-fs From: Alexander Lochmann Subject: [struct mount] Unprotected access to mnt_secondary_writes Message-ID: <5d5cf8de-a262-f6f3-ee0c-6b7ff1a0f095@tu-dortmund.de> Date: Thu, 8 Apr 2021 17:47:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VYJP1x4FZLDzgvCR6nLMdNSdTUpmJZwj9" X-Rspamd-Queue-Id: 4FGQdY2q8bz3QSV X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tu-dortmund.de header.s=unimail header.b=TJfM0p5X; dmarc=none; spf=pass (mx1.freebsd.org: domain of alexander.lochmann@tu-dortmund.de designates 129.217.128.51 as permitted sender) smtp.mailfrom=alexander.lochmann@tu-dortmund.de X-Spamd-Result: default: False [-7.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[129.217.128.51:from]; R_SPF_ALLOW(-0.20)[+ip4:129.217.128.0/24]; HAS_ATTACHMENT(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tu-dortmund.de:+]; RCVD_IN_DNSWL_MED(-0.20)[129.217.128.51:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; ASN(0.00)[asn:680, ipnet:129.217.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[79.217.120.209:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tu-dortmund.de:s=unimail]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; DMARC_NA(0.00)[tu-dortmund.de]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[tu-dortmund.de:dkim]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-fs] X-Mailman-Approved-At: Thu, 08 Apr 2021 19:02:35 +0000 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2021 15:48:02 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VYJP1x4FZLDzgvCR6nLMdNSdTUpmJZwj9 Content-Type: multipart/mixed; boundary="YY1emT9VbRTPbiuIOjn771gtXiGOhohqH"; protected-headers="v1" From: Alexander Lochmann To: freebsd-fs Message-ID: <5d5cf8de-a262-f6f3-ee0c-6b7ff1a0f095@tu-dortmund.de> Subject: [struct mount] Unprotected access to mnt_secondary_writes --YY1emT9VbRTPbiuIOjn771gtXiGOhohqH Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi folks! According to the documentation [1], and to our findings, mnt_mtx is used = to protect mnt_secondary_writes in struct mount. However, our data shows that it is accessed in vn_fsync_buf() [2]=20 without the mnt_mtx lock. I attached the stack trace at the end of this=20 mail. Our data shows as well that the vnode.v_lock and the=20 vnode.v_bufobj.bo_lock are being held. Is this a valid access that ignores the locking on purpose? Or is it a bug? Regards, Alex [1] https://github.com/freebsd/freebsd-src/blob/main/sys/sys/mount.h#L236= [2]=20 https://github.com/freebsd/freebsd-src/blob/main/sys/kern/vfs_vnops.c#L28= 05 Stacktrace: syscall syscallenter sys_nmount vfs_donmount vfs_domount vfs_domount_update ffs_mount vfs_write_suspend_umnt vfs_write_suspend ffs_sync softdep_flushworklist VOP_FSYNC vop_stdfsync vn_fsync_buf --=20 Technische Universit=C3=A4t Dortmund Alexander Lochmann PGP key: 0xBC3EF6FD Otto-Hahn-Str. 16 phone: +49.231.7556141 D-44227 Dortmund fax: +49.231.7556116 http://ess.cs.tu-dortmund.de/Staff/al --YY1emT9VbRTPbiuIOjn771gtXiGOhohqH-- --VYJP1x4FZLDzgvCR6nLMdNSdTUpmJZwj9 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEElhZsUHzVP0dbkjCRWT7tBbw+9v0FAmBvJa4FAwAAAAAACgkQWT7tBbw+9v0A 2BAAlt+7pHahpz/ENZ5fG8RZLP4CzJhoIetFq6MFBfXkXW0vIjBqVR+Cq2TxJUPBbqZzg8SX99sS caZY8zLluceruCILz2/Pw9twijv5P2f6opE+xVvSn1S+ygmBy5Mkohr/ZraQRNaefmNGrDqaEbTV h2D+FN+cmLE8qNK/PNaG7lsk1VHea8oOag+toqybLVAo3uHM0cskLPVVDq33s3MuJseoJ/kHgd/y npi9Pxbyhaksk3QWmJhKioSwqj7JrSwvCVW0xYh5p1CpKoeEbQXcq6El7MnpA2nwxxYaf/vtUMsK j2pt6YsLejnv4RLYtbdG9ls2uzANtoYoYwhdXFYToZPiMXBXkE+SsznzmHeNmIEQFCqmnm0iTyDj MWB7migNhZt3fjZKteuYCeAckowQUEOagDA0Ti0E6ySN9avkXbaVnl4h/cEsLOqB/AP7nIkfxTS3 echa0UT+LZ4OPxUD1PzNUkXwh7VEAY1n/VkYJ/8h3nqKjB559tdGaUl9QZSN6lanf+9OagewxJfP 6Z8TtCOkDHRRvY7sBJ4YTTIQKfbHqnO7KS1h5wLmwG/ekGgqHL0/RmWpmDXJ0BaGlJH3LtOJii6m R26MuYoeYAONX93paSwudgtFOCRKQfddYzVfpzbSzaxMkEXa/EpYPeAnC7QPxBa0frx9u0xwFIY/ Mdg= =5Uby -----END PGP SIGNATURE----- --VYJP1x4FZLDzgvCR6nLMdNSdTUpmJZwj9-- From owner-freebsd-fs@freebsd.org Thu Apr 8 22:02:49 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0D2335C1AF7 for ; Thu, 8 Apr 2021 22:02:49 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4FGZxz5vBRz4lLb for ; Thu, 8 Apr 2021 22:02:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 138M2X7v075732 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 9 Apr 2021 01:02:36 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 138M2X7v075732 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 138M2X9B075731; Fri, 9 Apr 2021 01:02:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 9 Apr 2021 01:02:33 +0300 From: Konstantin Belousov To: Alexander Lochmann Cc: freebsd-fs Subject: Re: [struct mount] Unprotected access to mnt_secondary_writes Message-ID: References: <5d5cf8de-a262-f6f3-ee0c-6b7ff1a0f095@tu-dortmund.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5d5cf8de-a262-f6f3-ee0c-6b7ff1a0f095@tu-dortmund.de> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 4FGZxz5vBRz4lLb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com X-Spamd-Result: default: False [-2.99 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:470:d5e7:1::1:from]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; SPAMHAUS_ZRD(0.00)[2001:470:d5e7:1::1:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.986]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-fs]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2021 22:02:49 -0000 On Thu, Apr 08, 2021 at 05:47:57PM +0200, Alexander Lochmann wrote: > Hi folks! > > According to the documentation [1], and to our findings, mnt_mtx is used to > protect mnt_secondary_writes in struct mount. > However, our data shows that it is accessed in vn_fsync_buf() [2] without > the mnt_mtx lock. I attached the stack trace at the end of this mail. > Our data shows as well that the vnode.v_lock and the vnode.v_bufobj.bo_lock > are being held. > Is this a valid access that ignores the locking on purpose? You mean this line: if ((mp != NULL && mp->mnt_secondary_writes > 0) || It is read access and the possible race is innocent. > Or is it a bug? > > Regards, > Alex > > [1] https://github.com/freebsd/freebsd-src/blob/main/sys/sys/mount.h#L236 > [2] > https://github.com/freebsd/freebsd-src/blob/main/sys/kern/vfs_vnops.c#L2805 > > Stacktrace: > syscall > syscallenter > sys_nmount > vfs_donmount > vfs_domount > vfs_domount_update > ffs_mount > vfs_write_suspend_umnt > vfs_write_suspend > ffs_sync > softdep_flushworklist > VOP_FSYNC > vop_stdfsync > vn_fsync_buf > > -- > Technische Universität Dortmund > Alexander Lochmann PGP key: 0xBC3EF6FD > Otto-Hahn-Str. 16 phone: +49.231.7556141 > D-44227 Dortmund fax: +49.231.7556116 > http://ess.cs.tu-dortmund.de/Staff/al > From owner-freebsd-fs@freebsd.org Thu Apr 8 22:07:08 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9B8E95C1DE7 for ; Thu, 8 Apr 2021 22:07:08 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4FGb2z5fqqz4lsx for ; Thu, 8 Apr 2021 22:07:07 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 138M70vd076989 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 9 Apr 2021 01:07:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 138M70vd076989 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 138M70K9076988; Fri, 9 Apr 2021 01:07:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 9 Apr 2021 01:07:00 +0300 From: Konstantin Belousov To: Alexander Lochmann Cc: freebsd-fs@freebsd.org Subject: Re: [struct mount] Outdated locking documentation for mnt_uppers Message-ID: References: <53c970ad-bd87-5d7b-8a6c-4e526d96b93b@tu-dortmund.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53c970ad-bd87-5d7b-8a6c-4e526d96b93b@tu-dortmund.de> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 4FGb2z5fqqz4lsx X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:470:d5e7:1::1:from]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_SOFTFAIL(0.00)[~all:c]; SPAMHAUS_ZRD(0.00)[2001:470:d5e7:1::1:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.996]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-fs]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2021 22:07:08 -0000 On Wed, Apr 07, 2021 at 09:50:18PM +0200, Alexander Lochmann wrote: > Hi folks, > > I came accross the locking documentation for struct mount. > According to the definition [1], mnt_uppers should be accessed using the > global mountlist_mtx. > However, the code uses the MNT_ILOCK macro, which uses the mnt_mtx. > Is the locking documentation still valid? > Shouldn't it be updated? Thank you for the report, done in 5af1131de7fc. From owner-freebsd-fs@freebsd.org Fri Apr 9 09:12:26 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 76CA85D0A4D for ; Fri, 9 Apr 2021 09:12:26 +0000 (UTC) (envelope-from alexander.lochmann@tu-dortmund.de) Received: from unimail.uni-dortmund.de (mx1.hrz.uni-dortmund.de [129.217.128.51]) (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 (2048 bits) client-digest SHA256) (Client CN "unimail.tu-dortmund.de", Issuer "DFN-Verein Global Issuing CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FGspd2Ngzz4VCR for ; Fri, 9 Apr 2021 09:12:24 +0000 (UTC) (envelope-from alexander.lochmann@tu-dortmund.de) Received: from [192.168.111.113] (p4fd97698.dip0.t-ipconnect.de [79.217.118.152]) (authenticated bits=0) by unimail.uni-dortmund.de (8.16.1/8.16.1) with ESMTPSA id 1399CMvP021724 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT); Fri, 9 Apr 2021 11:12:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tu-dortmund.de; s=unimail; t=1617959542; bh=xIbkCJ23hcpW/bi72VG9CERG6vjEfqSodfhi+SumiPg=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=V9KIffp6zwkDv6QIY7g37uMzGQjJSblWP05ak4Ume7gNDSfpJdc4vGaaV8SnAWpfD 4lHwAUdV/7UZmwidvPeit+QFUM13jnTb9gonKi7vOoWZvLkrqHU0Lg+JKNPXSMTTo4 JutjTTbLSFRWs9uzWHOYCP4aZLtFChDuTJLok3t4= Subject: Re: [struct mount] Unprotected access to mnt_secondary_writes To: Konstantin Belousov Cc: freebsd-fs References: <5d5cf8de-a262-f6f3-ee0c-6b7ff1a0f095@tu-dortmund.de> From: Alexander Lochmann Message-ID: <5d500a5f-2064-6ffe-7c7e-58f88968916e@tu-dortmund.de> Date: Fri, 9 Apr 2021 11:12:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eTqbh9HoYaQmBPTuSML8M3MWxQje9gshn" X-Rspamd-Queue-Id: 4FGspd2Ngzz4VCR X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tu-dortmund.de header.s=unimail header.b=V9KIffp6; dmarc=none; spf=pass (mx1.freebsd.org: domain of alexander.lochmann@tu-dortmund.de designates 129.217.128.51 as permitted sender) smtp.mailfrom=alexander.lochmann@tu-dortmund.de X-Spamd-Result: default: False [-7.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[129.217.128.51:from]; R_SPF_ALLOW(-0.20)[+ip4:129.217.128.0/24]; HAS_ATTACHMENT(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[129.217.128.51:from]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[tu-dortmund.de:+]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; NEURAL_HAM_SHORT(-1.00)[-1.000]; ASN(0.00)[asn:680, ipnet:129.217.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[79.217.118.152:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tu-dortmund.de:s=unimail]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[tu-dortmund.de]; DWL_DNSWL_LOW(-1.00)[tu-dortmund.de:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-fs] X-Mailman-Approved-At: Fri, 09 Apr 2021 10:24:25 +0000 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2021 09:12:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --eTqbh9HoYaQmBPTuSML8M3MWxQje9gshn Content-Type: multipart/mixed; boundary="QwxiS4mgrJwyRf5TKy5tmJcG3C8BQLawD"; protected-headers="v1" From: Alexander Lochmann To: Konstantin Belousov Cc: freebsd-fs Message-ID: <5d500a5f-2064-6ffe-7c7e-58f88968916e@tu-dortmund.de> Subject: Re: [struct mount] Unprotected access to mnt_secondary_writes References: <5d5cf8de-a262-f6f3-ee0c-6b7ff1a0f095@tu-dortmund.de> In-Reply-To: --QwxiS4mgrJwyRf5TKy5tmJcG3C8BQLawD Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: quoted-printable On 09.04.21 00:02, Konstantin Belousov wrote: > On Thu, Apr 08, 2021 at 05:47:57PM +0200, Alexander Lochmann wrote: >> Hi folks! >> >> According to the documentation [1], and to our findings, mnt_mtx is us= ed to >> protect mnt_secondary_writes in struct mount. >> However, our data shows that it is accessed in vn_fsync_buf() [2] with= out >> the mnt_mtx lock. I attached the stack trace at the end of this mail. >> Our data shows as well that the vnode.v_lock and the vnode.v_bufobj.bo= _lock >> are being held. >> Is this a valid access that ignores the locking on purpose? > You mean this line: > if ((mp !=3D NULL && mp->mnt_secondary_writes > 0) || > It is read access and the possible race is innocent. Thx! - Alex >=20 >> Or is it a bug? >> >> Regards, >> Alex >> >> [1] https://github.com/freebsd/freebsd-src/blob/main/sys/sys/mount.h#L= 236 >> [2] >> https://github.com/freebsd/freebsd-src/blob/main/sys/kern/vfs_vnops.c#= L2805 >> >> Stacktrace: >> syscall >> syscallenter >> sys_nmount >> vfs_donmount >> vfs_domount >> vfs_domount_update >> ffs_mount >> vfs_write_suspend_umnt >> vfs_write_suspend >> ffs_sync >> softdep_flushworklist >> VOP_FSYNC >> vop_stdfsync >> vn_fsync_buf >> >> --=20 >> Technische Universit=C3=A4t Dortmund >> Alexander Lochmann PGP key: 0xBC3EF6FD >> Otto-Hahn-Str. 16 phone: +49.231.7556141 >> D-44227 Dortmund fax: +49.231.7556116 >> http://ess.cs.tu-dortmund.de/Staff/al >> >=20 >=20 >=20 --=20 Technische Universit=C3=A4t Dortmund Alexander Lochmann PGP key: 0xBC3EF6FD Otto-Hahn-Str. 16 phone: +49.231.7556141 D-44227 Dortmund fax: +49.231.7556116 http://ess.cs.tu-dortmund.de/Staff/al --QwxiS4mgrJwyRf5TKy5tmJcG3C8BQLawD-- --eTqbh9HoYaQmBPTuSML8M3MWxQje9gshn Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEElhZsUHzVP0dbkjCRWT7tBbw+9v0FAmBwGnUFAwAAAAAACgkQWT7tBbw+9v1R cg//RBaul+7eISJWHwcp8Y4j/Uw8AkSK9FN8EQK0vLjgA++e8evGtM7ys1IlANQUl90fl2xapn7n /C8yOOi2iayaiSPXmI8JLpsgAv3nxkiiGWgWImNrhTvgF/nU0wYL0EpvgkvQIEkcjuAmCTVaeeyr pA4jy4Qx+ltCNbis/4kYMh772hErELEsIGHhas+kQHbLl3yGKMCU88AcY934gxD/yYVyXOg69Btx k3AiTDJg4oJE97TvHgulVg9Tk8io1cwQckZ+tTdCe+aY2oBEzTkWiNUToAoH99UGQdcndbhUPXlC BtnP7JXN6ExQtGr+1nXkv82qq3SWfosyn+HvjO+7Wid/QMmGtCkfc1BiN/d4t6qVr5GSWtxOJ+C1 ofEv3/u5RCfWgRPPkj2RLBr6+uNovTHkDqiZ64utFP7Pjy7sZ4mY4GMs5rlVykDVOTg2DPiRwLa5 UeOUymAPbGzZOK2JJRO6jnSHow38ln5+kc8CGyEqwPKntafxZdTeInuvoeeD5LaB31WnYkj/xnP3 M9NATDqh6vkAQW+SKJ9AI1ikUtySLzpD5UrE3/dP5AQB7pdKkQUExMcvGWdNWLTefy4YXK37d3G2 3TE2C3mc7HdCXNZzAF6okQUqWM89lSOcfGO06uj3d3DVWggsnLnRPArE+Crdrco81Pamh4vL4NOG WAE= =GRfs -----END PGP SIGNATURE----- --eTqbh9HoYaQmBPTuSML8M3MWxQje9gshn-- From owner-freebsd-fs@freebsd.org Sat Apr 10 10:03:26 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2AD6C5E1931 for ; Sat, 10 Apr 2021 10:03:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FHVv20YrYz4rB5 for ; Sat, 10 Apr 2021 10:03:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 10F725E16CF; Sat, 10 Apr 2021 10:03:26 +0000 (UTC) Delivered-To: fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F8FA5E12FB for ; Sat, 10 Apr 2021 10:03:26 +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 4FHVv16m24z4rDn for ; Sat, 10 Apr 2021 10:03:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 DA9D87542 for ; Sat, 10 Apr 2021 10:03:25 +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 13AA3PLi080249 for ; Sat, 10 Apr 2021 10:03:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13AA3PvM080248 for fs@FreeBSD.org; Sat, 10 Apr 2021 10:03:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 254682] quota enabled filesystem doesn't show enabled running mount command Date: Sat, 10 Apr 2021 10:03:26 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: chris@cretaforce.gr X-Bugzilla-Status: New 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 MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Apr 2021 10:03:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254682 --- Comment #1 from Christos Chatzaras --- ls -la /var/log/mount.today -rw------- 1 root wheel 1379 Jan 27 03:01 mount.today So the mount command shows correct information about quotas enabled after c= ron runs "periodic daily", which runs "periodic security", which runs /etc/periodic/security/200.chkmounts Also if I manually execute /etc/periodic/security/200.chkmounts then immediately mount shows "with quotas". --=20 You are receiving this mail because: You are the assignee for the bug.=