Commit Graph

18649 Commits

Author SHA1 Message Date
Brian Behlendorf 7720159999 Merge branch 'fix-dnode-cons' into refs/top-bases/fix-branch 2010-03-11 09:55:15 -08:00
Brian Behlendorf 4deaf5248c Merge commit 'refs/top-bases/fix-dnode-cons' into fix-dnode-cons 2010-03-11 09:55:14 -08:00
Brian Behlendorf 3f5b4e49ba Merge commit 'refs/top-bases/fix-dbuf_dirty_record_t' into fix-dbuf_dirty_record_t 2010-03-11 09:55:13 -08:00
Brian Behlendorf c2317af86c Merge branch 'fix-dbuf_dirty_record_t' into refs/top-bases/fix-branch 2010-03-11 09:55:13 -08:00
Brian Behlendorf 4072724702 Merge branch 'fix-clock-wrap' into refs/top-bases/fix-branch 2010-03-11 09:55:12 -08:00
Brian Behlendorf 99e94880ad Merge commit 'refs/top-bases/fix-clock-wrap' into fix-clock-wrap 2010-03-11 09:55:11 -08:00
Brian Behlendorf 95e5d1c43d Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2010-03-11 09:55:08 -08:00
Brian Behlendorf b6192dfa2c Merge commit 'refs/top-bases/gcc-branch' into gcc-branch 2010-03-11 09:55:07 -08:00
Brian Behlendorf e1b58e733e Merge branch 'gcc-fortify-source' into refs/top-bases/gcc-branch 2010-03-11 09:55:07 -08:00
Brian Behlendorf d6b678d2c2 Merge commit 'refs/top-bases/gcc-fortify-source' into gcc-fortify-source 2010-03-11 09:55:05 -08:00
Brian Behlendorf b5690a43d2 Merge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch 2010-03-11 09:55:04 -08:00
Brian Behlendorf c919132283 Merge commit 'refs/top-bases/gcc-missing-braces' into gcc-missing-braces 2010-03-11 09:55:03 -08:00
Brian Behlendorf d7e292c232 Merge commit 'refs/top-bases/gcc-ident-pragmas' into gcc-ident-pragmas 2010-03-11 09:55:01 -08:00
Brian Behlendorf ba3c8033fc Merge branch 'gcc-ident-pragmas' into refs/top-bases/gcc-branch 2010-03-11 09:55:01 -08:00
Brian Behlendorf 2ec833a7a6 Merge branch 'gcc-64bit-constants' into refs/top-bases/gcc-branch 2010-03-11 09:54:59 -08:00
Brian Behlendorf ad2c4c94ae Merge commit 'refs/top-bases/gcc-64bit-constants' into gcc-64bit-constants 2010-03-11 09:54:58 -08:00
Brian Behlendorf 91f88418df Merge branch 'gcc-shadow' into refs/top-bases/gcc-branch 2010-03-11 09:54:56 -08:00
Brian Behlendorf cf4d8c2bbf Merge commit 'refs/top-bases/gcc-shadow' into gcc-shadow 2010-03-11 09:54:55 -08:00
Brian Behlendorf a4746edfe6 Merge branch 'gcc-unused' into refs/top-bases/gcc-branch 2010-03-11 09:54:53 -08:00
Brian Behlendorf a35120184e Merge commit 'refs/top-bases/gcc-unused' into gcc-unused 2010-03-11 09:54:52 -08:00
Brian Behlendorf d0a943ea19 Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch 2010-03-11 09:54:51 -08:00
Brian Behlendorf 61e9ef444e Merge commit 'refs/top-bases/gcc-uninit' into gcc-uninit 2010-03-11 09:54:50 -08:00
Brian Behlendorf 3b66b55e8c Merge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branch 2010-03-11 09:54:48 -08:00
Brian Behlendorf deb3da4ad0 Merge commit 'refs/top-bases/gcc-no-parenthesis' into gcc-no-parenthesis 2010-03-11 09:54:47 -08:00
Brian Behlendorf 8731b6820d Merge branch 'gcc-missing-case' into refs/top-bases/gcc-branch 2010-03-11 09:54:45 -08:00
Brian Behlendorf 04f739ff61 Merge commit 'refs/top-bases/gcc-missing-case' into gcc-missing-case 2010-03-11 09:54:44 -08:00
Brian Behlendorf 2f658d8154 Merge branch 'gcc-invalid-prototype' into refs/top-bases/gcc-branch 2010-03-11 09:54:42 -08:00
Brian Behlendorf c007de17e9 Merge commit 'refs/top-bases/gcc-invalid-prototype' into gcc-invalid-prototype 2010-03-11 09:54:41 -08:00
Brian Behlendorf ca936ff085 Merge branch 'gcc-init-pragmas' into refs/top-bases/gcc-branch 2010-03-11 09:54:40 -08:00
Brian Behlendorf 5389e96149 Merge commit 'refs/top-bases/gcc-init-pragmas' into gcc-init-pragmas 2010-03-11 09:54:39 -08:00
Brian Behlendorf ce96c77fa4 Merge branch 'gcc-debug' into refs/top-bases/gcc-branch 2010-03-11 09:54:37 -08:00
Brian Behlendorf 14e1411b39 Merge commit 'refs/top-bases/gcc-debug' into gcc-debug 2010-03-11 09:54:36 -08:00
Brian Behlendorf 931ed94a98 Merge branch 'gcc-cast' into refs/top-bases/gcc-branch 2010-03-11 09:54:35 -08:00
Brian Behlendorf ad1bc6c745 Merge commit 'refs/top-bases/gcc-cast' into gcc-cast 2010-03-11 09:54:34 -08:00
Brian Behlendorf a579a4ec00 Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2010-03-11 09:54:32 -08:00
Brian Behlendorf 5b949f90fa Merge commit 'refs/top-bases/gcc-c90' into gcc-c90 2010-03-11 09:54:31 -08:00
Brian Behlendorf 414f1f975e Rename update-zfs.sh -> zfs-update.sh for consistency 2010-03-11 09:53:59 -08:00
Brian Behlendorf 369293803b Allow recursive configure/make
Previously the ZFS configure was dependent on a correct Module{s}.symvers
file which is generated as one of the last steps of the full SPL build.
This meant you could not do a recursive configure because this will
configure all sub-packages before building any of them.

To resolve this issue the ZFS code has been updated to make a very
educated guess as to this file name at configure time.  This means
SPL_SYMBOLS may still be used in various places in the build system
such as modules/Makefile.in.  But we do give up the ability to
seemlessly detect symbols exported by the SPL at ZFS configure time.
At the moment this is not as issue, hopefully it will stay that way.
2010-03-11 09:45:23 -08:00
Brian Behlendorf 03f51d86b2 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2010-03-10 12:09:35 -08:00
Brian Behlendorf 1859c6aca8 Merge commit 'refs/top-bases/linux-zfs-branch' into linux-zfs-branch 2010-03-10 12:09:34 -08:00
Brian Behlendorf 20894b4487 Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch 2010-03-10 12:09:33 -08:00
Brian Behlendorf c7c19c1259 Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch 2010-03-10 12:09:32 -08:00
Ricardo M. Correia 2c79a2fa6a Fix a few zdb bugs when trying to open a pool
Specifically, the following bugs are fixed in this patch:

1) zdb wasn't getting the correct device size when the vdev is a
block device.  In Solaris, fstat64() returns the device size but
in Linux an ioctl() is needed.

2) We were opening block devices with O_DIRECT, which caused pread64()
to fail with EINVAL due to memory alignment issues.  This was fixed by
the previous umem cache alignment fix in stub implementation to align
objects correctly.  But we still needed to add a check for the error here.

3) We also make sure that we don't try to open a block device in write
mode in userspace.  This shouldn't happen, because zdb opens devices
in read-only mode, and ztest only uses files.
2010-03-10 12:03:48 -08:00
Ricardo M. Correia c557557e4a Add umem_alloc_aligned() and honor cache_align field for umem caches
Under linux we open block devices with O_DIRECT which means we must
provide aligned memory buffers.  This patch adds the needed umem
interfaces or in the case of caches simply honors alignment provided
at cache creation time.
2010-03-10 11:51:43 -08:00
Brian Behlendorf 6663e28c0b Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2010-03-10 09:59:54 -08:00
Brian Behlendorf f13e607b28 Merge commit 'refs/top-bases/linux-zfs-branch' into linux-zfs-branch 2010-03-10 09:59:52 -08:00
Brian Behlendorf 9c0d97face Merge branch 'linux-have-idmap' into refs/top-bases/linux-zfs-branch 2010-03-10 09:59:51 -08:00
Brian Behlendorf b02716b3d7 Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap 2010-03-10 09:59:49 -08:00
Brian Behlendorf 9eccf857fc Merge branch 'linux-ztest' into refs/top-bases/linux-zfs-branch 2010-03-10 09:59:44 -08:00
Brian Behlendorf 69833fb0bb Merge commit 'refs/top-bases/linux-ztest' into linux-ztest 2010-03-10 09:59:42 -08:00