Commit Graph

123 Commits

Author SHA1 Message Date
Brian Behlendorf 1f8a43f7a2 Refresh autogen products 2009-08-17 21:58:33 -07:00
Brian Behlendorf 49be3a6efa Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-08-17 21:57:04 -07:00
Brian Behlendorf 44020d0ec3 Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2009-08-17 21:57:01 -07:00
Brian Behlendorf 8e954086b9 Add zpios scripts to zfs-test package test infrastructure.
This change extends the existing in-tree test infrastructure such
that it can also be run as part of a the installed package.  This
simplifies testing on multiple systems and is generally all around
useful.  The scripts may still be run in-tree and will use the
in-tree build products as long as .script-config exists.
2009-08-17 21:50:55 -07:00
Brian Behlendorf 89d97ddfc9 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-08-17 21:47:54 -07:00
Brian Behlendorf 2af51466af Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch
Conflicts:

	configure.ac
	scripts/Makefile.am
2009-08-17 21:41:45 -07:00
Brian Behlendorf 4f555da51d Add zfs-test package which includes test infrastructure.
This change extends the existing in-tree test infrastructure such
that it can also be run as part of a the installed package.  This
simplifies testing on multiple systems and is generally all around
useful.  The scripts may still be run in-tree and will use the
in-tree build products as long as .script-config exists.
2009-08-17 21:35:06 -07:00
Brian Behlendorf 535dab57d2 Refresh autogen products. 2009-07-29 17:54:49 -07:00
Brian Behlendorf c3fb5766d2 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-29 17:53:21 -07:00
Brian Behlendorf e925f6cc86 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-07-29 17:49:26 -07:00
Brian Behlendorf 9cabcac115 Required autoconf support for vdev_disk integration with 2.6.30 kernels.
2.6.22 API change
Unused destroy_dirty_buffers arg removed from prototype.

2.6.24 API change
Empty write barriers are now supported and we should use them.

2.6.24 API change
Size argument dropped from bio_endio and bi_end_io, because the
bi_end_io is only called once now when the request is complete.
There is no longer any need for a size argument.  This also means
that partial IO's are no longer possibe and the end_io callback
should not check bi->bi_size.  Finally, the return type was updated
to void.

2.6.28 API change
open/close_bdev_excl() renamed to open/close_bdev_exclusive().

2.6.29 API change
BIO_RW_SYNC renamed to BIO_RW_SYNCIO.
2009-07-29 17:14:23 -07:00
Brian Behlendorf 198180fdd2 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-27 10:51:34 -07:00
Brian Behlendorf c7384d6b2e Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-07-27 10:47:31 -07:00
Brian Behlendorf 3a431c68c2 Remove LINUXINCLUDE from autoconf wrapper, breaks 2.6.28+ kernels.
Modern kernel build systems at least post 2.6.16 will set this properly
so we should not.  In fact post 2.6.28 the include headers have moved
under arch so the guess we make here is completely wrong.  Letting
the kernel build system set this ensure it will be correct.  Also
drop the ulimit from the Makefile which, not surprisingly, turns out
to be very non-portable.  If your expecting failures set the ulimit
in your shell before kicking off the test suite.
2009-07-27 10:39:28 -07:00
Brian Behlendorf 1deac81a1c Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-24 16:37:01 -07:00
Brian Behlendorf a839888bae Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-07-24 16:33:26 -07:00
Brian Behlendorf 18ffe73d3f Check arch/default/ path when detecting kernel objects on SLES
We still preferentially use arch/arch looking for a native version
but if that fails it is acceptable to use default.
2009-07-24 16:26:17 -07:00
Brian Behlendorf 8feebe7d65 Refresh autogen products 2009-07-16 10:29:59 -07:00
Brian Behlendorf ccd59502da Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-16 10:28:22 -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 28f9bfb2db Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-02 10:52:41 -07:00
Brian Behlendorf f984d28e0c Cleanly handle --with-linux=NONE and --with-spl=NONE options
when used to generate source rpms.  These should not be fatal
because we actually don't need them until we build the source
rpm.  When doing mock build this is important because these
dependent rpms will only be installed if they are specificed
in the source rpms spec file.
2009-07-02 10:44:43 -07:00
Brian Behlendorf e3d5b2a900 Refresh autogen products 2009-07-01 11:37:26 -07:00
Brian Behlendorf 6eb5b7a8c8 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
Conflicts:

	config/zfs-build.m4
2009-07-01 11:25:56 -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 80cfd98d8e Refresh autogen products 2009-06-09 16:46:26 -07:00
Brian Behlendorf 169cc37888 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-06-09 16:34:18 -07:00
Brian Behlendorf 0f1012be0a Add basic zlib autoconf check for user space build. 2009-06-09 16:09:17 -07:00
Brian Behlendorf ceba65337f Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-06-09 14:48:39 -07:00
Brian Behlendorf 999035eb32 Only powerpc64 is currently supported not powerpc. 2009-06-09 14:20:44 -07:00
Brian Behlendorf 26f70525ee Refresh autogen products 2009-06-08 16:33:33 -07:00
Brian Behlendorf 296b71a0fd Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-06-08 16:32:16 -07:00
Brian Behlendorf 9c347d872f Core target arch support for conditional compilation of SUBDIRs
which is used by libspl for it's arch specific atomic implementations.
2009-06-08 16:07:43 -07:00
Brian Behlendorf 3b81ef73dc Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-05-22 14:57:19 -07:00
Brian Behlendorf 119a28815f - Update build system to SPL_META_VERSION not VERSION.
- ZFS_LINUX_COMPILE_IFELSE drop explicit CC and force the kernel build
  system to set it this ensure -m64 is set only when appropriate.
2009-05-22 14:49:41 -07:00
Brian Behlendorf 920a98e0c0 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-05-22 09:39:33 -07:00
Brian Behlendorf d855b57b7c SLES Fixes (Part 1):
- ZFS_AC_KERNEL updated to exclude -obj entries in /usr/src/ when
  attempting to automatically detect your kernel source.
- ZFS_AC_KERNEL check for *-obj directory when attempting to
  detect the objects for your kernel source.
- ZFS_AC_SPL updated to additionally check for Modules.symvers build
  product.  This seems to be specific to SLES system, for Vanilla,
  Fedora, RHEL, and Chaos kernels the symbol file is just called
  Module.symvers.
- ZFS_CHECK_SYMBOL_EXPORT also should also check the exported SPL
  symbols in addition to the exported core kernel systems.
2009-05-22 09:26:36 -07:00
Brian Behlendorf 9141a4f2c8 Refresh autogen products 2009-03-13 09:56:09 -07:00
Brian Behlendorf 7fa1ced508 Refresh autogen products, remove stray zdump Makefile.in 2009-03-12 16:48:12 -07:00
Brian Behlendorf 03c1f6a0c7 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-03-12 16:47:26 -07:00
Brian Behlendorf f8764e9947 Add NONE option for --with-linux and --with-spl.
This is used when you need to configure the project but you don't
actually intend to build it.  Thus you don't really need access to
either the kernel or spl headers and symbols.  At Livermore I use
this when I only intend to use the 'make dist' or 'make srpm' target.
2009-03-12 16:31:28 -07:00
Brian Behlendorf 0fe418c548 Refresh autogen products 2009-03-12 15:55:23 -07:00
Brian Behlendorf c856450b52 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-03-12 15:15:45 -07:00
Brian Behlendorf f2e7d57653 Packaging update
Make LINUX_VERSION available to Makefile's, add packaging
for user space include headers.
2009-03-12 15:07:29 -07:00
Brian Behlendorf 36363b2d23 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-03-12 11:05:17 -07:00
Brian Behlendorf 74432ad2fb Remove remaining compiler flags for disabling specific compiler checks.
All these errors are now either addressed in a gcc-* topic branch, or
in whatever branch the original warning was introduced by (i.e. I fixed
the bug which just went unnoticed until now due to the compiler flags)
2009-03-12 10:55:56 -07:00
Brian Behlendorf 4acf3b07c0 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-03-11 22:30:41 -07:00
Brian Behlendorf 031709f9d5 Remove --Wno-unused and -Wno-missing braces gcc-* patches have been
added to address these issues.  Other instances unused variables will
be addressed in the topic branch which caused the problem.
2009-03-11 22:12:00 -07:00
Brian Behlendorf 3f8174047a Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-03-11 14:13:57 -07:00
Brian Behlendorf 64119ce40d Remove -Wno-parentheses this is handled by the gcc-no-parentheses branch. 2009-03-11 13:59:34 -07:00