From nobody Sat Jun 10 13:50:22 2023 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 4QdfTq0qYTz4cc0k for ; Sat, 10 Jun 2023 13:50:23 +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 4QdfTp6x0mz3H8W for ; Sat, 10 Jun 2023 13:50:22 +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=1686405023; 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=tSvmiIulNYSMDD6NlnqVhvtsHxrQa4H14Sph8CHV4WE=; b=qy6aCwdgkW1GqdQ5y8GVHLoLh0h7rb7TFLXLeAwRqAFzINNugf5XEd8ZB3T65pPfp29her c5azwHCNGdfkHMh+L6NrDW5mTUPS6xBktoKmd8ToiTMyOOdfRYBWez4ItBDGBLHaHuTO4u Xb537iyMYLGwJnXh4oB8eOnl8wQbXzZ4V1IMriaqR/y5t3vSPYeoMwzIdeQSA7kmmvWNgF wQt0Ewqc9ouhc5I8BhYKg9KRF/Mb5oYJfZrOCeEcVb+XBX1rCjyhCIO6v/xAV+QN3LM17i 9j7W3pkTQ9CUpj9Nqn93HKN7lurZb4x33qX67AHf8MldPAAYcvJyGO8Hyc2ICQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686405023; a=rsa-sha256; cv=none; b=Oe/GZIAK/wPQV/bPJxIUMo4HWEXasOHpM+VT8rELkaZ5FdaXKguLoe25w1GaGEoFJPTNJd d+GXlUFI2B7QCUMkGaBIug5MF/yGMPEjmLdFvMBFjR5IMrXSoTSwIJfDAVjegMWCjIwrzU wcDsfV7NR4COnUjtT4UDf/zn5g+BPofaUDIqBt9TsbsDJywBOf2LaboOJ6uFGi68K4DsUz L4ygPHayfUalgydaVbUX83w+jsRTO1ivVavbzOQWI2paNQyocKYqNf6j/COHP3/NYd05Gz wd0F0UVMW5dtEVG+QNsLzqzt53/1fp1KOog7f6IUgYhXC0F4dxh3XGTDQE3Bzg== 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 4QdfTp5wSfzKGr for ; Sat, 10 Jun 2023 13:50:22 +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 35ADoMeJ080340 for ; Sat, 10 Jun 2023 13:50:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35ADoMt4080339 for bugs@FreeBSD.org; Sat, 10 Jun 2023 13:50:22 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: bugs@FreeBSD.org Subject: [Bug 271925] chflags(1) fails to remove uarch flag with hardlinked files (ZFS) Date: Sat, 10 Jun 2023 13:50:22 +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 Only Me X-Bugzilla-Who: se@FreeBSD.org X-Bugzilla-Status: In Progress 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=3D271925 --- Comment #4 from Stefan E=C3=9Fer --- This issue should probably be fixed in zfs_vnops.c by not invalidating the flush request of the updated flags on each 2nd call of chflags within a very short time period. (I.e., a PR should be opened on the OpenZFS issue tracke= r.) And a regression test should be added (but is only useful when executed on a file system that shows the issue, i.e. ZFS, not on /tmp if it is a TMPFS, f= or example. /var/tmp might be assumed to be a file system supporting stable storage and could be ZFS on at least some systems the test is performed on = ...) --=20 You are receiving this mail because: You are the assignee for the bug.=