CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

"YAMAMOTO Takashi" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	yamt
Date:		Fri Mar 27 14:02:46 UTC 2026

Modified Files:
	src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ioctl.c zfs_log.c
	    zfs_vnops.c zvol.c
	src/external/cddl/osnet/dist/uts/common/fs/zfs/sys: zfs_vfsops.h
	    zfs_znode.h

Log Message:
zfs: port a fix for data corruption issue from illumos

see https://www.illumos.org/issues/17734 for the details.

note: i didn't bother to patch illumos/freebsd code in our tree.

the original commit message:

> commit f6559a18843abdfa5849b9e74f239f9bd15796d3
> Author: Andy Fiddaman <[email protected]>
> Date:   Mon Nov 10 22:52:05 2025 +0000
>
>     17734 ZFS fsync can trigger ZIL transaction reordering and data corruption
>     Portions contributed by: Alexander Motin <[email protected]>
>     Reviewed by: Ryan Zezeski <[email protected]>
>     Reviewed by: Toomas Soome <[email protected]>
>     Approved by: Dan McDonald <[email protected]>

a review request on tech-kern:
https://mail-index.netbsd.org/tech-kern/2026/03/04/msg030862.html


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 \
    src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c
cvs rdiff -u -r1.1.1.3 -r1.2 \
    src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_log.c
cvs rdiff -u -r1.98 -r1.99 \
    src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
cvs rdiff -u -r1.15 -r1.16 \
    src/external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c
cvs rdiff -u -r1.1.1.3 -r1.2 \
    src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/zfs_vfsops.h
cvs rdiff -u -r1.10 -r1.11 \
    src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/zfs_znode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.