Commit Graph

3654 Commits

Author SHA1 Message Date
Brian Behlendorf d91c81c4df Merge commit 'refs/top-bases/gcc-ident-pragmas' into gcc-ident-pragmas 2010-04-29 10:41:09 -07:00
Brian Behlendorf 481d967b31 Merge branch 'gcc-64bit-constants' into refs/top-bases/gcc-branch 2010-04-29 10:41:06 -07:00
Brian Behlendorf 4408195868 Merge commit 'refs/top-bases/gcc-64bit-constants' into gcc-64bit-constants 2010-04-29 10:41:05 -07:00
Brian Behlendorf 3cfe96925e Merge branch 'gcc-shadow' into refs/top-bases/gcc-branch 2010-04-29 10:41:03 -07:00
Brian Behlendorf a3c2fb2333 Merge commit 'refs/top-bases/gcc-shadow' into gcc-shadow 2010-04-29 10:41:02 -07:00
Brian Behlendorf 61e6759e44 Merge branch 'gcc-unused' into refs/top-bases/gcc-branch 2010-04-29 10:41:01 -07:00
Brian Behlendorf 3bd5ecf4a7 Merge commit 'refs/top-bases/gcc-unused' into gcc-unused 2010-04-29 10:41:00 -07:00
Brian Behlendorf 89855b6d11 Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch 2010-04-29 10:40:58 -07:00
Brian Behlendorf 530d9b5702 Merge commit 'refs/top-bases/gcc-uninit' into gcc-uninit 2010-04-29 10:40:57 -07:00
Brian Behlendorf aace977d6e Merge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branch 2010-04-29 10:40:55 -07:00
Brian Behlendorf c3da525f25 Merge commit 'refs/top-bases/gcc-no-parenthesis' into gcc-no-parenthesis 2010-04-29 10:40:54 -07:00
Brian Behlendorf 701704178c Merge branch 'gcc-missing-case' into refs/top-bases/gcc-branch 2010-04-29 10:40:52 -07:00
Brian Behlendorf 1655c9c76f Merge commit 'refs/top-bases/gcc-missing-case' into gcc-missing-case 2010-04-29 10:40:51 -07:00
Brian Behlendorf 9151a0566a Merge branch 'gcc-invalid-prototype' into refs/top-bases/gcc-branch 2010-04-29 10:40:49 -07:00
Brian Behlendorf 097e1158e6 Merge commit 'refs/top-bases/gcc-invalid-prototype' into gcc-invalid-prototype 2010-04-29 10:40:48 -07:00
Brian Behlendorf 60c7fd584d Merge branch 'gcc-init-pragmas' into refs/top-bases/gcc-branch 2010-04-29 10:40:46 -07:00
Brian Behlendorf e124150522 Merge commit 'refs/top-bases/gcc-init-pragmas' into gcc-init-pragmas 2010-04-29 10:40:45 -07:00
Brian Behlendorf f51b32b5ef Merge branch 'gcc-debug' into refs/top-bases/gcc-branch 2010-04-29 10:40:43 -07:00
Brian Behlendorf 9864c23b4a Merge commit 'refs/top-bases/gcc-debug' into gcc-debug 2010-04-29 10:40:41 -07:00
Brian Behlendorf b9dd820df8 Merge branch 'gcc-cast' into refs/top-bases/gcc-branch 2010-04-29 10:40:39 -07:00
Brian Behlendorf d5dbdb4fe2 Merge commit 'refs/top-bases/gcc-cast' into gcc-cast 2010-04-29 10:40:38 -07:00
Brian Behlendorf 8c24800b72 Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2010-04-29 10:40:36 -07:00
Brian Behlendorf 4aad8d3244 Merge commit 'refs/top-bases/gcc-c90' into gcc-c90 2010-04-29 10:40:34 -07:00
Brian Behlendorf fa42225a3d Add Solaris FMA style support 2010-04-29 10:37:15 -07:00
Brian Behlendorf aafdbe5d6e Check all partitions with check_file() even when no libblkid is found
When creating a new pool on a block device we need to check all the
partitions even if we don't have liblkdid support.  In this case
we can't consult the blkid cache but we still can call check_file()
and attempt to read a valid label from each partition.

Additionally, the O_EXCL flag was removed because the device will
be opened multiple times and this was causing the check the file.
The device is only opened read-only anyway so this is still safe.

$ sudo zpool create tank /dev/sdz
invalid vdev specification
use '-f' to override the following errors:
/dev/sdz1 is part of potentially active pool 'tank'
2010-04-23 10:59:31 -07:00
Brian Behlendorf 6ddf68bb1e Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2010-04-22 10:01:40 -07:00
Brian Behlendorf d69cfcab40 Add top level SPL include path which is needed for *-devel builds 2010-04-22 09:55:07 -07:00
Brian Behlendorf 2d652f3e1a Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2010-03-26 15:49:08 -07:00
Brian Behlendorf 23ab272555 Add support for 'make -s' silent builds
The cleanest way to do this is to set AM_LIBTOOLFLAGS = --silent.  However,
AM_LIBTOOLFLAGS is not honored by automake-1.9.6-2.1 which is what I have
been using.  To cleanly handle this I am updating to automake-1.11-3 which
is why it looks like there is a lot of churn in the Makefiles.
2010-03-26 15:41:41 -07:00
Brian Behlendorf a7183a6f87 Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2010-03-22 16:57:16 -07:00
Brian Behlendorf e96be1888a Allow zfs_config.h to be included by dependant packages (updated)
We need dependent packages to be able to include zfs_config.h to
build properly.  This was partially solved previously be using
AH_BOTTOM to #undef common #defines (PACKAGE, VERSION, etc) which
autoconf always adds and cannot be easily removed.  This solution
works as long as the zfs_config.h is included before your projects
config.h.  That turns out to be easier said than done.  In particular,
this is a problem when your package includes its config.h using the
-include gcc option which ensures the first thing included is your
config.h.

To handle all cases cleanly I have removed the AH_BOTTOM hack and
replaced it with an AC_CONFIG_HEADERS command.  This command runs
immediately after zfs_config.h is written and with a little awk-foo
it strips the offending #defines from the file.  This eliminates
the problem entirely and makes header safe for inclusion.
2010-03-22 16:42:18 -07:00
Brian Behlendorf 93d324fd4a Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2010-03-11 16:29:51 -08:00
Brian Behlendorf 6157362ad3 Prep for 0.4.8 tag, updated META and ChangeLog 2010-03-11 16:25:03 -08:00
Brian Behlendorf 77f449b931 Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2010-03-11 14:09:50 -08:00
Brian Behlendorf feee765f99 Remove promise example config replace with a supermicro config
The promise config never worked quite right.  I'm replacing it with
a Supermicro config which does and which I've tested on a real test
system.
2010-03-11 14:04:12 -08:00
Brian Behlendorf e7b3766a69 Remove udev dependency when running in-tree
After much contemplation I can't see a clean way to use udev entirely
in-tree for testing.  This patch removed a horrible horrible hack which
would copy the needed udev bits in to place on your system to make it
work.  That however is simply not acceptable, nothing you in in-tree
should ever ever ever install something on your system.

Since I could not come up with a clean way to use udev in-tree.  The
fix is to simply parse the zdev config file and create the needed
symlinks in a sub-diretory or your working tree.  This is not as clean
as using udev but it does work perfectly well for in-tree testing.
2010-03-11 13:56:20 -08:00
Brian Behlendorf a47d4e4086 Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2010-03-11 10:01:34 -08:00
Brian Behlendorf fddf5c888f Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2010-03-11 09:55:44 -08:00
Brian Behlendorf ce1160b5b9 Merge branch 'feature-branch' into refs/top-bases/zfs-branch 2010-03-11 09:55:43 -08:00
Brian Behlendorf 5e4f96bb2f Merge commit 'refs/top-bases/feature-branch' into feature-branch 2010-03-11 09:55:42 -08:00
Brian Behlendorf 2269c6aef0 Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads 2010-03-11 09:55:41 -08:00
Brian Behlendorf 5302158673 Merge branch 'feature-pthreads' into refs/top-bases/feature-branch 2010-03-11 09:55:41 -08:00
Brian Behlendorf 7d196935b2 Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb 2010-03-11 09:55:40 -08:00
Brian Behlendorf 389bb5a604 Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch 2010-03-11 09:55:39 -08:00
Brian Behlendorf a20a614a87 Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key 2010-03-11 09:55:38 -08:00
Brian Behlendorf db0227bc9e Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-03-11 09:55:36 -08:00
Brian Behlendorf 59d56028e7 Merge commit 'refs/top-bases/fix-branch' into fix-branch 2010-03-11 09:55:35 -08:00
Brian Behlendorf 05926244c0 Merge commit 'refs/top-bases/fix-error-handling' into fix-error-handling 2010-03-11 09:55:34 -08:00
Brian Behlendorf 858e56fbb4 Merge branch 'fix-error-handling' into refs/top-bases/fix-branch 2010-03-11 09:55:34 -08:00
Brian Behlendorf c997dd4d16 Merge branch 'fix-acl' into refs/top-bases/fix-branch 2010-03-11 09:55:33 -08:00