Home | History | Annotate | Download | only in zfs
History log of /src/external/cddl/osnet/dist/uts/common/fs/zfs/dmu.c
RevisionDateAuthorComments
 1.7  05-Apr-2024  simonb Apply FreeBSD svn r373278 fix for ZFS corruption. Fix for NetBSD
PR kern/58111 .

It would be extremely unlikely to trip this bug on NetBSD, as we don't
expose SEEK_DATA and SEEK_HOLE and you need to call ioctl(2) with
FIOSEEKDATA and FIOSEEKHOLE directly which no currently known code does,
and even then be unlucky enough to trip a race condition.

With a reproducer based on that in https://www.illumos.org/issues/16087,
I saw 11 groups of failures over 8 hours. With this patch, no
failures in 10 hours. The repro for NetBSD will be attached to
https://gnats.netbsd.org/58111 .

Original FreeBSD commit message:
 1.6  28-May-2018  chs branches: 1.6.4; 1.6.12;
merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
- dtrace FBT probes can now be placed in kernel modules.
- ZFS now supports mmap().
 1.5  11-Apr-2015  riastradh branches: 1.5.14;
Disable another xuio branch.
 1.4  19-Mar-2015  riastradh Move initialization of XUIO_XUZC_PRIV out of #ifdef PORT_SOLARIS.

This code is not currently used, so no functional change, but it may
be used when we hook zfs into the ubc.
 1.3  27-Feb-2010  haad Merge NetBSD local changes to new zfs version 22 sources.
 1.2  10-Aug-2009  haad Add some NetBSD fixes which I have forgot to commit during first round.
With these patches I can build solaris and zfs module again.
 1.1  07-Aug-2009  haad branches: 1.1.1;
Initial revision
 1.1.1.3  28-May-2018  chs import new CDDL dtrace and ZFS code from FreeBSD svn r315983.
 1.1.1.2  27-Feb-2010  haad Import new Opensolaris sources for zfs/dtrace.

Opensolaris mercurial changeset: 11751:58c0c8f4305f
 1.1.1.1  07-Aug-2009  haad Import Opensolaris source code used with zfs port. Zfs code si from date
200811.
 1.5.14.1  25-Jun-2018  pgoyette Sync with HEAD
 1.6.12.1  18-Nov-2024  martin Pull up following revision(s) (requested by riastradh in ticket #1014):

external/cddl/osnet/dist/uts/common/fs/zfs/vdev.c: revision 1.7
external/cddl/osnet/dist/uts/common/fs/zfs/dmu.c: revision 1.7

Apply FreeBSD svn r373278 fix for ZFS corruption. Fix for NetBSD
PR kern/58111 .

It would be extremely unlikely to trip this bug on NetBSD, as we don't
expose SEEK_DATA and SEEK_HOLE and you need to call ioctl(2) with
FIOSEEKDATA and FIOSEEKHOLE directly which no currently known code does,
and even then be unlucky enough to trip a race condition.

With a reproducer based on that in https://www.illumos.org/issues/16087,
I saw 11 groups of failures over 8 hours. With this patch, no
failures in 10 hours. The repro for NetBSD will be attached to
https://gnats.netbsd.org/58111

Original FreeBSD commit message:
 1.6.4.1  18-Nov-2024  martin Pull up following revision(s) (requested by riastradh in ticket #1928):

external/cddl/osnet/dist/uts/common/fs/zfs/vdev.c: revision 1.7
external/cddl/osnet/dist/uts/common/fs/zfs/dmu.c: revision 1.7

Apply FreeBSD svn r373278 fix for ZFS corruption. Fix for NetBSD
PR kern/58111 .

It would be extremely unlikely to trip this bug on NetBSD, as we don't
expose SEEK_DATA and SEEK_HOLE and you need to call ioctl(2) with
FIOSEEKDATA and FIOSEEKHOLE directly which no currently known code does,
and even then be unlucky enough to trip a race condition.

With a reproducer based on that in https://www.illumos.org/issues/16087,
I saw 11 groups of failures over 8 hours. With this patch, no
failures in 10 hours. The repro for NetBSD will be attached to
https://gnats.netbsd.org/58111

Original FreeBSD commit message:

RSS XML Feed