[Bug 271925] chflags(1) fails to remove uarch flag with hardlinked files (ZFS)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 10 Jun 2023 13:50:22 UTC

--- Comment #4 from Stefan E├čer <se@FreeBSD.org> ---
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 tracker.)

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, for
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 ...)

You are receiving this mail because:
You are the assignee for the bug.