Commit Graph

91 Commits

Author SHA1 Message Date
Brian Behlendorf ac81bc8094 Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch 2009-07-16 10:28:14 -07:00
Brian Behlendorf 3ae0e369f3 Add generic user space atomic support.
Futher testing on my powerpc system revealed that the powerpc
specific atomic implemetation was flawed.  Rather than spending
a lot of time correctly reimplementing it in assembly I have
reworked it in to a 100% generic version.  The generic version
will not perform well but it does provide correct sematics.  It
will be used only when there is no architecture specific version
available.  These changes do not impact x86_64 and x86 which have
have correct native implementations.
2009-07-16 09:59:44 -07:00
Brian Behlendorf 685b7d85d3 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-07-01 11:11:34 -07:00
Brian Behlendorf b44445a8f1 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-07-01 11:09:33 -07:00
Brian Behlendorf ef0a712858 Distro friendly build system / packaging improvements.
These changes bring the zfs-0.4.4 tree in to compliance with
the spl-0.4.4 packaging changes.  The bottom line is 2 source
rpms and 4 binary rpms will now be generated when creating
packages there will be:

zfs-<version>.src.rpm
- Fully rebuildable source rpm for libzfs and utils.
zfs-modules-<version>.src.rpm
- Fully rebuildable source rpm for kernel modules.

zfs-<version>.<arch>.rpm
- Binary rpm for libzfs and utils.  The utils in this package are
  compatible with all zfs-module rpms of the same version.
zfs-devel-<version>.<arch>.rpm
- Binary rpm containing headers for building against libzfs libraries.

zfs-modules-<verion>-<kernel>.arch.rpm
- Binary rpm containing the kernel modules for a specific kernel build.
  The package name contains the kernel version and you should have one
  of these packages installed to match every kernel on your system.
zfs-modules-devel-<verion>-<kernel>.arch.rpm
- Binary rpm containing development header and module symbols needed
  for building additional kernel modules which are dependent on the
  zfs module stack.

Expect minor interations on these changes as I validate they work
properly on CHAOS, RHEL, Fedora, and SLES style distros.
2009-07-01 10:53:05 -07:00
Brian Behlendorf 8bb2e455fb Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch 2009-05-22 15:07:27 -07:00
Brian Behlendorf b83a638936 Powerpc64 Compatibility
- Add 64-bit user space atomic support obtained from an old version
  of OpenSolaris which supported ppc.  They are not all 100% fully
  implemented by they are a good first step.
- Add powerpc ISA type.
- Strip out unused ISA defines to prevent any confusion.
2009-05-22 15:00:19 -07:00
Brian Behlendorf adaf659f27 Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch 2009-03-13 09:51:37 -07:00
Brian Behlendorf caba3cb67e Update specific asm-* arch to generic i386.
Depending on your x86 architecture $target_cpu can evaluate to
any of the following (i386|i486|i586|i686).  Since our local asm
uses only i386 instructions sed is used to map all of these to
i386 and sets $target_arch.  Other arch's are not impacted.
2009-03-13 09:41:55 -07:00
Brian Behlendorf 2d37cf7361 Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch 2009-03-10 22:03:01 -07:00
Brian Behlendorf c05c1aa6f9 Build system and packaging (RPM support) (Part 4)
Complete support for dist install srpm and rpm make targets.
2009-03-10 21:57:56 -07:00
Brian Behlendorf 851cd16a32 Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2009-03-10 21:51:06 -07:00
Brian Behlendorf c0c0c27632 Build system and packaging (RPM support) (Part 3)
Complete support for dist install srpm and rpm make targets.
2009-03-10 21:45:50 -07:00
Brian Behlendorf 7ca5d85ab6 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-03-10 21:30:24 -07:00
Brian Behlendorf 6bf18caf9f Merge commit 'refs/top-bases/linux-zpios' into linux-zpios
Conflicts:

	module/Makefile.in
2009-03-10 21:29:58 -07:00
Brian Behlendorf 36860ec1a8 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch
Conflicts:

	module/Makefile.in
2009-03-10 21:23:17 -07:00
Brian Behlendorf c8e569dd1c Build system and packaging (RPM support) (Part 2)
Complete support for dist install srpm and rpm make targets.
2009-03-10 21:13:30 -07:00
Brian Behlendorf c9c44d22d0 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-03-10 11:29:46 -07:00
Brian Behlendorf a98ae7ffe2 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios
Conflicts:

	configure.ac
2009-03-10 11:29:29 -07:00
Brian Behlendorf 1d6b5183d3 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch
Conflicts:

	configure.ac
2009-03-10 11:22:53 -07:00
Brian Behlendorf b1b76c6634 Build system and packaging (RPM support) (Part 1)
An update to the build system to properly support all commonly
    used Makefile targets these include:

      make all        # Build everything
      make install    # Install everything
      make clean      # Clean up build products
      make distclean  # Clean up everything
      make dist       # Create package tarball
      make srpm       # Create package source RPM
      make rpm        # Create package binary RPMs
      make tags       # Create ctags and etags for everything

    Extra care was taken to ensure that the source RPMs are fully
    rebuildable against Fedora/RHEL/Chaos kernels.  To build binary
    RPMs from the source RPM for your system simply run:

      rpmbuild --rebuild zfs-x.y.z-1.src.rpm

    This will produce two binary RPMs with correct 'requires'
    dependencies for your kernel.  One will contain all zfs modules
    and support utilities, the other is a devel package for compiling
    additional kernel modules which are dependant on the zfs.

      zfs-x.y.z-1_<kernel version>.x86_64.rpm
      zfs-devel-x.y.2-1_<kernel version>.x86_64.rpm
2009-03-10 11:10:50 -07:00
Brian Behlendorf de25e15a1c Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-02-03 10:03:31 -08:00
Brian Behlendorf 02862a5f7e Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-02-03 10:03:26 -08:00
Brian Behlendorf 06d62870d7 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-02-03 10:02:02 -08:00
Brian Behlendorf 4365c44425 Properly detect and set HAVE_GPL_ONLY_SYMBOLS based on license 2009-02-03 09:59:54 -08:00
Brian Behlendorf a651f9e82e Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2009-01-20 15:56:54 -08:00
Brian Behlendorf 2334ba2bb1 Add a script scripts, update Makefiles 2009-01-20 15:54:50 -08:00
Brian Behlendorf 3874b261a4 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-01-20 15:48:01 -08:00
Brian Behlendorf 67d3177f05 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-01-20 15:47:55 -08:00
Brian Behlendorf 1996f04880 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-01-20 15:46:31 -08:00
Brian Behlendorf 26d0de9a92 Update Makefiles for recent script updates 2009-01-20 15:43:21 -08:00
Brian Behlendorf aac79c5329 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-01-14 16:04:53 -08:00
Brian Behlendorf 9339984f08 Resolve conflict 2009-01-14 16:04:33 -08:00
Brian Behlendorf 9e40470aa0 Resolve conflict 2009-01-14 15:42:28 -08:00
Brian Behlendorf 9c22d76019 Minor 'make check' updates 2009-01-14 15:38:56 -08:00
Brian Behlendorf cca384cc3d Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2009-01-06 12:36:29 -08:00
Brian Behlendorf 65923b99f9 Update to use DS_MODE_USER not removed DS_MODE_STANDARD 2009-01-06 12:32:44 -08:00
Brian Behlendorf b9e46825f5 Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2009-01-06 09:50:16 -08:00
Brian Behlendorf 11b7f20ce1 Ensure zpios module makefile is built 2009-01-06 09:48:33 -08:00
Brian Behlendorf 087a94a78e Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-01-05 13:16:43 -08:00
Brian Behlendorf 3ffae097f4 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-01-05 13:16:38 -08:00
Brian Behlendorf db25fe1918 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-01-05 13:15:28 -08:00
Brian Behlendorf 861ec17294 Update libunicode 2009-01-05 13:13:50 -08:00
Brian Behlendorf 50f4cdb95e Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-01-05 11:23:04 -08:00
Brian Behlendorf fa7980f197 Remove zdump 2009-01-05 11:22:57 -08:00
Brian Behlendorf e3b6de2c22 Remove zdump 2009-01-05 11:20:33 -08:00
Brian Behlendorf 6fd7b17036 Remove remaining zdump Makefile references 2009-01-05 11:18:06 -08:00
Brian Behlendorf 1ef314d53f Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch 2008-12-23 10:19:45 -08:00
Brian Behlendorf ff046c4099 Resolve conflict 2008-12-23 10:19:41 -08:00
Brian Behlendorf 34e0918846 Resolve conflict 2008-12-23 10:18:54 -08:00