Commit Graph

3524 Commits

Author SHA1 Message Date
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
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
Brian Behlendorf 1186ea3781 Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2010-03-10 09:59:14 -08:00
Brian Behlendorf 7223b8df33 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2010-03-10 09:58:04 -08:00
Brian Behlendorf 54cf7ab2bc Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-03-10 09:58:03 -08:00
Brian Behlendorf 104e33e79b Merge commit 'refs/top-bases/fix-branch' into fix-branch 2010-03-10 09:54:44 -08:00
Brian Behlendorf 166355dcf0 Merge branch 'fix-error-handling' into refs/top-bases/fix-branch 2010-03-10 09:54:43 -08:00
Brian Behlendorf 33d6f7ee08 New TopGit dependency: fix-error-handling 2010-03-10 09:54:41 -08:00
Ricardo M. Correia 62a0ac8f22 Fix some incorrect error handling.
In vn_open(), if fstat64() returned an error, the real errno
was being obscured by calling close().

Add error handling for both pwrite64() calls in vn_rdwr().
2010-03-10 09:53:53 -08:00
Brian Behlendorf a3a09a32d3 Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2010-03-09 14:55:54 -08:00
Ricardo M. Correia 4853ac3d53 Fix scripts to work when invoked from other directories. 2010-03-09 14:50:15 -08:00
Brian Behlendorf fee91f276a Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2010-03-09 14:21:16 -08:00
Brian Behlendorf 9ac35e4fe5 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2010-03-09 14:20:05 -08:00
Brian Behlendorf 6fb1ab89a6 Merge branch 'feature-branch' into refs/top-bases/zfs-branch 2010-03-09 14:20:04 -08:00
Brian Behlendorf b3928389da Merge commit 'refs/top-bases/feature-branch' into feature-branch 2010-03-09 14:20:03 -08:00
Brian Behlendorf 3907283e25 Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads 2010-03-09 14:20:02 -08:00
Brian Behlendorf 00cf79214f Merge branch 'feature-pthreads' into refs/top-bases/feature-branch 2010-03-09 14:20:02 -08:00
Brian Behlendorf 9ae782821b Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb 2010-03-09 14:20:01 -08:00
Brian Behlendorf c3d51e4110 Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key 2010-03-09 14:20:00 -08:00
Brian Behlendorf df67dd9d47 Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch 2010-03-09 14:20:00 -08:00