]> granicus.if.org Git - zfs/commit
Update build system and packaging
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 16 Feb 2018 01:53:18 +0000 (17:53 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 29 May 2018 23:00:33 +0000 (16:00 -0700)
commit93ce2b4ca5a40c41ac945cd3aaf4a4a22bb751e1
tree6832f5c9dfdbe0f0bd5c8708344a769676b1f95d
parent1272941f49321bcb7b26025670720c98785427ee
Update build system and packaging

Minimal changes required to integrate the SPL sources in to the
ZFS repository build infrastructure and packaging.

Build system and packaging:
  * Renamed SPL_* autoconf m4 macros to ZFS_*.
  * Removed redundant SPL_* autoconf m4 macros.
  * Updated the RPM spec files to remove SPL package dependency.
  * The zfs package obsoletes the spl package, and the zfs-kmod
    package obsoletes the spl-kmod package.
  * The zfs-kmod-devel* packages were updated to add compatibility
    symlinks under /usr/src/spl-x.y.z until all dependent packages
    can be updated.  They will be removed in a future release.
  * Updated copy-builtin script for in-kernel builds.
  * Updated DKMS package to include the spl.ko.
  * Updated stale AUTHORS file to include all contributors.
  * Updated stale COPYRIGHT and included the SPL as an exception.
  * Renamed README.markdown to README.md
  * Renamed OPENSOLARIS.LICENSE to LICENSE.
  * Renamed DISCLAIMER to NOTICE.

Required code changes:
  * Removed redundant HAVE_SPL macro.
  * Removed _BOOT from nvpairs since it doesn't apply for Linux.
  * Initial header cleanup (removal of empty headers, refactoring).
  * Remove SPL repository clone/build from zimport.sh.
  * Use of DEFINE_RATELIMIT_STATE and DEFINE_SPINLOCK removed due
    to build issues when forcing C99 compilation.
  * Replaced legacy ACCESS_ONCE with READ_ONCE.
  * Include needed headers for `current` and `EXPORT_SYMBOL`.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Pavel Zakharov <pavel.zakharov@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
TEST_ZIMPORT_SKIP="yes"
Closes #7556
209 files changed:
AUTHORS
COPYRIGHT
DISCLAIMER [deleted file]
LICENSE [moved from OPENSOLARIS.LICENSE with 100% similarity]
Makefile.am
NOTICE [new file with mode: 0644]
README.md [moved from README.markdown with 86% similarity]
TEST
cmd/mount_zfs/mount_zfs.c
cmd/zed/agents/zfs_diagnosis.c
cmd/zed/agents/zfs_mod.c
cmd/zfs/zfs_iter.c
config/kernel-ctl-table-name.m4
config/kernel-fallocate-pax.m4
config/kernel-group-info.m4
config/kernel-inode-lock.m4
config/kernel-kmem-cache.m4
config/kernel-kuidgid.m4
config/kernel-pde-data.m4
config/kernel-rw.m4
config/kernel-rwsem.m4
config/kernel-sched.m4
config/kernel-set-fs-pwd.m4
config/kernel-shrink.m4
config/kernel-shrinker.m4 [deleted file]
config/kernel-spinlock.m4
config/kernel-timer.m4
config/kernel-trim-unused-symbols.m4 [deleted file]
config/kernel-urange-sleep.m4
config/kernel-vfs-fsync.m4
config/kernel-vfs-getattr.m4
config/kernel-wait.m4
config/kernel-zlib.m4
config/kernel.m4
config/zfs-build.m4
config/zfs-meta.m4
configure.ac
copy-builtin
include/Makefile.am
include/linux/Makefile.am
include/linux/blkdev_compat.h
include/linux/compiler_compat.h [moved from lib/libspl/include/attr.h with 75% similarity]
include/spl/Makefile.am [new file with mode: 0644]
include/spl/rpc/Makefile.am [new file with mode: 0644]
include/spl/sys/Makefile.am [new file with mode: 0644]
include/spl/sys/debug.h
include/spl/sys/errno.h [moved from lib/libspl/include/sys/compress.h with 60% similarity]
include/spl/sys/mutex.h
include/spl/sys/rwlock.h
include/spl/sys/sysmacros.h
include/spl/sys/types.h
include/spl/sys/vnode.h
include/sys/Makefile.am
include/sys/abd.h
include/sys/fm/protocol.h
include/sys/note.h [moved from lib/libspl/include/sys/note.h with 98% similarity]
include/sys/nvpair.h
include/sys/xvattr.h
include/sys/zfs_context.h
include/sys/zfs_delay.h
include/sys/zfs_fuid.h
include/sys/zfs_znode.h
include/sys/zpl.h
lib/libefi/rdwr_efi.c
lib/libnvpair/libnvpair.c
lib/libshare/nfs.c
lib/libshare/smb.c
lib/libspl/include/Makefile.am
lib/libspl/include/note.h [deleted file]
lib/libspl/include/sys/Makefile.am
lib/libspl/include/sys/stdtypes.h [moved from lib/libspl/include/sys/systm.h with 53% similarity]
lib/libspl/include/sys/strings.h [moved from lib/libspl/include/strings.h with 92% similarity]
lib/libspl/include/sys/sysmacros.h
lib/libspl/include/sys/types.h
lib/libspl/include/sys/types32.h
lib/libspl/include/umem.h
lib/libuutil/uu_dprintf.c
lib/libzfs/libzfs_diff.c
man/man1/zhack.1
man/man5/Makefile.am
module/Makefile.in
module/avl/avl.c
module/icp/algs/edonr/edonr.c
module/icp/algs/edonr/edonr_byteorder.h
module/icp/algs/skein/skein.c
module/icp/algs/skein/skein_impl.h
module/icp/algs/skein/skein_port.h
module/icp/api/kcf_cipher.c
module/icp/api/kcf_ctxops.c
module/icp/api/kcf_digest.c
module/icp/api/kcf_mac.c
module/icp/api/kcf_miscapi.c
module/icp/illumos-crypto.c
module/icp/io/edonr_mod.c
module/icp/io/skein_mod.c
module/lua/lapi.c
module/lua/lauxlib.c
module/lua/lbaselib.c
module/lua/lcorolib.c
module/lua/lstrlib.c
module/lua/ltablib.c
module/nvpair/fnvpair.c
module/nvpair/nvpair.c
module/nvpair/nvpair_alloc_fixed.c
module/spl/Makefile.in [new file with mode: 0644]
module/spl/README.md [new file with mode: 0644]
module/spl/spl-condvar.c
module/spl/spl-err.c
module/spl/spl-generic.c
module/spl/spl-kmem.c
module/spl/spl-rwlock.c
module/spl/spl-taskq.c
module/spl/spl-vnode.c
module/spl/spl-xdr.c
module/unicode/u8_textprep.c
module/unicode/uconv.c
module/zcommon/zfeature_common.c
module/zcommon/zfs_comutil.c
module/zcommon/zfs_deleg.c
module/zcommon/zfs_fletcher.c
module/zcommon/zfs_fletcher_aarch64_neon.c
module/zcommon/zfs_fletcher_avx512.c
module/zcommon/zfs_fletcher_intel.c
module/zcommon/zfs_fletcher_sse.c
module/zcommon/zfs_fletcher_superscalar.c
module/zcommon/zfs_fletcher_superscalar4.c
module/zcommon/zfs_namecheck.c
module/zcommon/zfs_prop.c
module/zcommon/zfs_uio.c
module/zcommon/zpool_prop.c
module/zcommon/zprop_common.c
module/zfs/abd.c
module/zfs/arc.c
module/zfs/dbuf.c
module/zfs/dbuf_stats.c
module/zfs/ddt.c
module/zfs/ddt_zap.c
module/zfs/dmu.c
module/zfs/dmu_object.c
module/zfs/dmu_objset.c
module/zfs/dmu_traverse.c
module/zfs/dmu_tx.c
module/zfs/dmu_zfetch.c
module/zfs/dsl_dataset.c
module/zfs/dsl_deleg.c
module/zfs/dsl_destroy.c
module/zfs/dsl_dir.c
module/zfs/dsl_pool.c
module/zfs/dsl_prop.c
module/zfs/dsl_scan.c
module/zfs/dsl_synctask.c
module/zfs/fm.c
module/zfs/gzip.c
module/zfs/metaslab.c
module/zfs/mmp.c
module/zfs/multilist.c
module/zfs/pathname.c
module/zfs/sa.c
module/zfs/spa.c
module/zfs/spa_config.c
module/zfs/spa_errlog.c
module/zfs/spa_history.c
module/zfs/spa_misc.c
module/zfs/spa_stats.c
module/zfs/txg.c
module/zfs/vdev.c
module/zfs/vdev_cache.c
module/zfs/vdev_disk.c
module/zfs/vdev_indirect.c
module/zfs/vdev_indirect_births.c
module/zfs/vdev_indirect_mapping.c
module/zfs/vdev_mirror.c
module/zfs/vdev_queue.c
module/zfs/vdev_raidz_math.c
module/zfs/vdev_removal.c
module/zfs/zap_micro.c
module/zfs/zcp.c
module/zfs/zfs_acl.c
module/zfs/zfs_byteswap.c
module/zfs/zfs_ctldir.c
module/zfs/zfs_dir.c
module/zfs/zfs_fm.c
module/zfs/zfs_fuid.c
module/zfs/zfs_ioctl.c
module/zfs/zfs_log.c
module/zfs/zfs_onexit.c
module/zfs/zfs_replay.c
module/zfs/zfs_rlock.c
module/zfs/zfs_vfsops.c
module/zfs/zfs_vnops.c
module/zfs/zfs_znode.c
module/zfs/zil.c
module/zfs/zio.c
module/zfs/zio_compress.c
module/zfs/zio_crypt.c
module/zfs/zio_inject.c
module/zfs/zpl_file.c
module/zfs/zpl_xattr.c
module/zfs/zrlock.c
rpm/generic/zfs-dkms.spec.in
rpm/generic/zfs-kmod.spec.in
rpm/generic/zfs.spec.in
rpm/redhat/zfs-kmod.spec.in
scripts/Makefile.am
scripts/dkms.mkconf
scripts/kmodtool
scripts/zfs.sh
scripts/zimport.sh
tests/zfs-tests/tests/functional/checksum/edonr_test.c