Brian Behlendorf
f12cc4958b
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-27 10:51:29 -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
fcf48bdadd
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-24 16:36:54 -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
0fddc10d35
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-24 16:07:57 -07:00
Brian Behlendorf
5ecd180d91
ulimit is a function of the shell and should be invoked as such.
2009-07-24 15:50:57 -07:00
Brian Behlendorf
2302582146
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-24 11:17:57 -07:00
Brian Behlendorf
db3967ba86
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2009-07-24 11:08:43 -07:00
Brian Behlendorf
9a2275c1c5
Merge branch 'feature-branch' into refs/top-bases/zfs-branch
2009-07-24 11:08:42 -07:00
Brian Behlendorf
77901ca759
Merge commit 'refs/top-bases/feature-branch' into feature-branch
2009-07-24 11:08:41 -07:00
Brian Behlendorf
0435a79314
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch
2009-07-24 11:08:40 -07:00
Ricardo M. Correia
51760e3c7e
Change VERIFY() into VERIFY3U() when creating threads in ztest, so that we can see the return code when it fails.
...
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2009-07-24 11:00:23 -07:00
Ricardo M. Correia
08d148d418
Add ulimit -c unlimited before running ztest, to get a core dump.
...
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2009-07-24 10:58:55 -07:00
Brian Behlendorf
1df7ab7100
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-24 10:37:08 -07:00
Brian Behlendorf
710c21f2e9
Use LOSETUP variable for all calls to /sbin/losetup
2009-07-24 10:25:01 -07:00
Brian Behlendorf
dfbfdad242
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-24 09:19:55 -07:00
Brian Behlendorf
82ca18caae
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2009-07-24 09:15:56 -07:00
Brian Behlendorf
825c086a4e
Merge branch 'fix-branch' into refs/top-bases/zfs-branch
2009-07-24 09:15:55 -07:00
Brian Behlendorf
4a4280c0f7
Merge commit 'refs/top-bases/fix-branch' into fix-branch
2009-07-24 09:15:54 -07:00
Brian Behlendorf
e4610d7991
Merge branch 'fix-get-configs' into refs/top-bases/fix-branch
2009-07-24 09:15:53 -07:00
Brian Behlendorf
1b4dfb80fb
Increase buffer size for nvlist for large configurations
...
It's still not clear to me why the default value here is large
enough Solaris. I hit this limit again when setting up 120 SATA
drives configured as 15 raidz2 groups each containing 8 drives.
We expect to go bigger so we may just want to spend a little
time and figure out how to make this all dynamic.
2009-07-24 08:53:18 -07:00
Brian Behlendorf
2759dc2498
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-21 17:15:37 -07:00
Brian Behlendorf
bc8c87d2f3
Missed one instance of losetup -f to unused_loop_device change
2009-07-21 17:05:13 -07:00
Brian Behlendorf
f974187b96
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-21 16:33:10 -07:00
Brian Behlendorf
b9c3c7a2f4
The losetup -f option is unavailable for SLES10 use unused_loop_device()
...
SLES10 ships util-linux-2.12r-35.30 which does not support the -f option
to losetup. To avoid this problem the unused_loop_device() function was
added which attempts to find an unused loop device by checking each
/dev/loop* device with losetup to see if it is configured.
2009-07-21 16:17:54 -07:00
Brian Behlendorf
8258757e75
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-14 16:56:35 -07:00
Brian Behlendorf
5753d78dcd
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2009-07-14 16:49:29 -07:00
Brian Behlendorf
e9d7526fb3
Merge branch 'feature-branch' into refs/top-bases/zfs-branch
2009-07-14 16:49:27 -07:00
Brian Behlendorf
407a09cf3e
Merge commit 'refs/top-bases/feature-branch' into feature-branch
2009-07-14 16:49:23 -07:00
Brian Behlendorf
8d55cf8c97
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch
2009-07-14 16:49:22 -07:00
Brian Behlendorf
5ef898a106
Update TODO by removing out of date failure modes.
...
From what I've seen so far the pthreads cleanup has addressed
most/all of the pthread_* related crashes in ztest.
2009-07-14 16:36:28 -07:00
Brian Behlendorf
a13cdecdd2
Remove debug printf
2009-07-14 16:35:13 -07:00
Brian Behlendorf
3565a03f5b
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-14 14:40:09 -07:00
Brian Behlendorf
fef9a2c571
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2009-07-14 14:34:39 -07:00
Brian Behlendorf
9b9f17a585
Merge branch 'feature-branch' into refs/top-bases/zfs-branch
2009-07-14 14:34:37 -07:00
Brian Behlendorf
6923d172c5
Merge commit 'refs/top-bases/feature-branch' into feature-branch
2009-07-14 14:34:36 -07:00
Brian Behlendorf
605a501311
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch
2009-07-14 14:34:35 -07:00
Brian Behlendorf
864e44e7e0
Provide correct kthread API semantics using pthreads.
...
The intent here is to fully remove the previous Solaris thread
implementation so we don't need to simulate both Solaris kernel
and user space thread APIs. The few user space consumers of the
thread API have been updated to use the kthread API. In order
to support this we needed to more fully support the kthread API
and that means not doing crazy things like casting a thread id
to a pointer and using that as was done before. This first
implementation is not effecient but it does provide all the
corrent semantics. If/when performance becomes and issue we
can and should just natively adopt pthreads which is portable.
Let me finish by saying I'm not proud of any of this and I would
love to see it improved. However, this slow implementation does
at least provide all the correct kthread API semantics whereas
the previous method of casting the thread ID to a pointer was
dodgy at best.
2009-07-14 14:16:26 -07:00
Brian Behlendorf
d6710a2678
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-10 11:54:06 -07:00
Brian Behlendorf
e16ffab302
SPLBUILD now includes modules
2009-07-10 11:37:30 -07:00
Brian Behlendorf
5f9803ee22
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-10 10:55:30 -07:00
Brian Behlendorf
4baa59ce44
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2009-07-10 10:50:13 -07:00
Brian Behlendorf
cfec48619c
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
2009-07-10 10:50:12 -07:00
Brian Behlendorf
1817377ecd
Merge commit 'refs/top-bases/gcc-branch' into gcc-branch
2009-07-10 10:50:11 -07:00
Brian Behlendorf
84b52133f3
Merge branch 'gcc-unused' into refs/top-bases/gcc-branch
2009-07-10 10:50:10 -07:00
Brian Behlendorf
f3c55459b0
Pull ; in to macro to ensure it get's entirely removed, C90 issue.
2009-07-10 10:40:55 -07:00
Brian Behlendorf
857b4ca8b7
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-09 15:12:58 -07:00
Brian Behlendorf
24662d61d9
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2009-07-09 15:08:06 -07:00
Brian Behlendorf
2f4e745a09
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
2009-07-09 15:08:04 -07:00
Brian Behlendorf
893e11c6be
Merge commit 'refs/top-bases/gcc-branch' into gcc-branch
2009-07-09 15:08:03 -07:00