mirror of
https://github.com/opnsense/src.git
synced 2026-02-26 03:13:02 -05:00
10499 Multi-modifier protection (MMP) illumos/illumos-gate@e0f1c0afa4e0f1c0afa4https://www.illumos.org/issues/10499 Port the following ZFS commits from ZoL to illumos.379ca9cf2Multi-modifier protection (MMP)bbffb59efFix multihost stale cache file import0d398b256Do not initiate MMP writes while pool is suspended 10701 Correct lock ASSERTs in vdev_label_read/write illumos/illumos-gate@58447f688d58447f688dhttps://www.illumos.org/issues/10701 Port of ZoL commit:0091d66f4eCorrect lock ASSERTs in vdev_label_read/write At a minimum, this fixes a blown assert during an MMP test run when running on a DEBUG build. 11770 additional mmp fixes illumos/illumos-gate@4348eb90124348eb9012https://www.illumos.org/issues/11770 Port a few additional MMP fixes from ZoL that came in after our initial MMP port.4ca457b065ZTS: Fix mmp_interval failureca95f70dffzpool import progress kstat (only minimal changes from above can be pulled in right now)060f0226e6MMP interval and fail_intervals in uberblock Note from the committer (me). I do not have any use for this feature and I have not tested it. I only did smoke testing with multihost=off. Please be aware. I merged the code only to make future merges easier. Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Tim Chase <tim@chase2k.com> Portions contributed by: sanjeevbagewadi <sanjeev.bagewadi@gmail.com> Portions contributed by: John L. Hammond <john.hammond@intel.com> Portions contributed by: Giuseppe Di Natale <dinatale2@llnl.gov> Portions contributed by: Prakash Surya <surya1@llnl.gov> Portions contributed by: Brian Behlendorf <behlendorf1@llnl.gov> Author: Olaf Faaland <faaland1@llnl.gov> MFC after: 4 weeks
33 lines
1 KiB
Makefile
33 lines
1 KiB
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/ztest
|
|
|
|
PROG= ztest
|
|
MAN=
|
|
|
|
WARNS?= 0
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libcmdutils
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head
|
|
|
|
LIBADD= geom m nvpair umem zpool pthread avl zfs_core zfs uutil
|
|
|
|
CSTD= c99
|
|
|
|
# Since there are many asserts in this program, it makes no sense to compile
|
|
# it without debugging.
|
|
CFLAGS+= -g -DDEBUG=1 -Wno-format
|
|
CFLAGS.gcc+= -fms-extensions
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|