summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The losetup -f option is unavailable for SLES10 use unused_loop_device()Brian Behlendorf2009-07-215-4/+16
| | | | | | | 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.
* Merge commit 'refs/top-bases/zfs-branch' into zfs-branchBrian Behlendorf2009-07-141-1/+0
|\
| * Merge branch 'feature-branch' into refs/top-bases/zfs-branchBrian Behlendorf2009-07-141-1/+0
| |\
| | * Merge commit 'refs/top-bases/feature-branch' into feature-branchBrian Behlendorf2009-07-141-1/+0
| | |\
| | | * Merge branch 'feature-pthreads' into refs/top-bases/feature-branchBrian Behlendorf2009-07-141-1/+0
| | | |\
| | | | * Remove debug printfBrian Behlendorf2009-07-141-1/+0
| | | | |
* | | | | Update TODO by removing out of date failure modes.Brian Behlendorf2009-07-141-114/+1
| | | | | | | | | | | | | | | | | | | | | | | | | From what I've seen so far the pthreads cleanup has addressed most/all of the pthread_* related crashes in ztest.
* | | | | Merge commit 'refs/top-bases/zfs-branch' into zfs-branchBrian Behlendorf2009-07-145-99/+228
|\| | | |
| * | | | Merge branch 'feature-branch' into refs/top-bases/zfs-branchBrian Behlendorf2009-07-145-99/+228
| |\| | |
| | * | | Merge commit 'refs/top-bases/feature-branch' into feature-branchBrian Behlendorf2009-07-145-99/+228
| | |\| |
| | | * | Merge branch 'feature-pthreads' into refs/top-bases/feature-branchBrian Behlendorf2009-07-145-99/+228
| | | |\|
| | | | * Provide correct kthread API semantics using pthreads.Brian Behlendorf2009-07-145-99/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | SPLBUILD now includes modulesBrian Behlendorf2009-07-101-1/+1
| | | | |
* | | | | Merge commit 'refs/top-bases/zfs-branch' into zfs-branchBrian Behlendorf2009-07-101-1/+1
|\| | | |
| * | | | Merge branch 'gcc-branch' into refs/top-bases/zfs-branchBrian Behlendorf2009-07-101-1/+1
| |\ \ \ \
| | * \ \ \ Merge commit 'refs/top-bases/gcc-branch' into gcc-branchBrian Behlendorf2009-07-101-1/+1
| | |\ \ \ \
| | | * \ \ \ Merge branch 'gcc-unused' into refs/top-bases/gcc-branchBrian Behlendorf2009-07-101-1/+1
| | | |\ \ \ \
| | | | * | | | Pull ; in to macro to ensure it get's entirely removed, C90 issue.Brian Behlendorf2009-07-101-1/+1
| | | | | | | |
* | | | | | | | Merge commit 'refs/top-bases/zfs-branch' into zfs-branchBrian Behlendorf2009-07-091-6/+6
|\| | | | | | |
| * | | | | | | Merge branch 'gcc-branch' into refs/top-bases/zfs-branchBrian Behlendorf2009-07-091-6/+6
| |\| | | | | |
| | * | | | | | Merge commit 'refs/top-bases/gcc-branch' into gcc-branchBrian Behlendorf2009-07-091-6/+6
| | |\| | | | |
| | | * | | | | Merge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branchBrian Behlendorf2009-07-091-6/+6
| | | |\ \ \ \ \
| | | | * | | | | Add suggested paranthesis.Brian Behlendorf2009-07-091-6/+6
| | | | | | | | |
* | | | | | | | | Merge commit 'refs/top-bases/zfs-branch' into zfs-branchBrian Behlendorf2009-07-091-1/+1
|\| | | | | | | |
| * | | | | | | | Merge branch 'gcc-branch' into refs/top-bases/zfs-branchBrian Behlendorf2009-07-091-1/+1
| |\| | | | | | |
| | * | | | | | | Merge commit 'refs/top-bases/gcc-branch' into gcc-branchBrian Behlendorf2009-07-091-1/+1
| | |\| | | | | |
| | | * | | | | | Merge branch 'gcc-uninit' into refs/top-bases/gcc-branchBrian Behlendorf2009-07-091-1/+1
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: module/nvpair/nvpair.c
| | | | * | | | | | TopGit missed this update when I updated the same line in theBrian Behlendorf2009-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc-unused and gcc-uninit topic branches at the same time and then ran 'tg update'. I'll need to keep that sort of thing in mind when updating multiple topic branches between updates.
* | | | | | | | | | Merge commit 'refs/top-bases/zfs-branch' into zfs-branchBrian Behlendorf2009-07-0915-47/+54
|\| | | | | | | | |
| * | | | | | | | | Merge branch 'gcc-branch' into refs/top-bases/zfs-branchBrian Behlendorf2009-07-0915-47/+54
| |\| | | | | | | |
| | * | | | | | | | Merge commit 'refs/top-bases/gcc-branch' into gcc-branchBrian Behlendorf2009-07-0915-47/+54
| | |\| | | | | | |
| | | * | | | | | | Merge branch 'gcc-unused' into refs/top-bases/gcc-branchBrian Behlendorf2009-07-0915-47/+54
| | | |\ \ \ \ \ \ \ | | | | | |_|/ / / / | | | | |/| | | | |
| | | | * | | | | | Unitialized variables should be handled in the gcc-uninit topic branch.Brian Behlendorf2009-07-091-1/+1
| | | | | | | | | |
| | | | * | | | | | Revert to original debugging code and wrap any variabled used onlyBrian Behlendorf2009-07-0914-46/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | within an ASSERT with the ASSERTV macro which will ensure it will be removed when the ASSERTs are commented out. This makes gcc much happier, makes the variables usage explicit, and removes the need for the compiler to detect it is unused and do the right thing.
| | | * | | | | | | Merge branch 'gcc-uninit' into refs/top-bases/gcc-branchBrian Behlendorf2009-07-090-0/+0
| | | |\ \ \ \ \ \ \ | | | | | |/ / / / / | | | | |/| | | | |
| | | | * | | | | | Unitialized variables should be handled in the gcc-uninit topic branch.Brian Behlendorf2009-07-091-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge commit 'refs/top-bases/zfs-branch' into zfs-branchBrian Behlendorf2009-07-091-1/+1
|\| | | | | | | | |
| * | | | | | | | | Merge branch 'gcc-branch' into refs/top-bases/zfs-branchBrian Behlendorf2009-07-091-1/+1
| |\| | | | | | | |
| | * | | | | | | | Merge commit 'refs/top-bases/gcc-branch' into gcc-branchBrian Behlendorf2009-07-091-1/+1
| | |\| | | | | | |
| | | * | | | | | | Merge branch 'gcc-c90' into refs/top-bases/gcc-branchBrian Behlendorf2009-07-091-1/+1
| | | |\ \ \ \ \ \ \
| | | | * | | | | | | Type int accidentally not declared at the top of the function.Brian Behlendorf2009-07-091-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Untracked pthread changes which must have accidentally crept in.Brian Behlendorf2009-07-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is exactly the reason why I want a new topgit command which takes the base, then incrementally applies all the patches and compares them againsts what is actually committed. This would ensure this sort of thing doesn't happen!
* | | | | | | | | | | Merge commit 'refs/top-bases/zfs-branch' into zfs-branchBrian Behlendorf2009-07-084-83/+143
|\| | | | | | | | | |
| * | | | | | | | | | Merge branch 'feature-branch' into refs/top-bases/zfs-branchBrian Behlendorf2009-07-084-83/+143
| |\ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ / / | | |/| | | | | | | |
| | * | | | | | | | | Merge commit 'refs/top-bases/feature-branch' into feature-branchBrian Behlendorf2009-07-084-83/+143
| | |\ \ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|/ / | | | |/| | | | | | |
| | | * | | | | | | | Merge branch 'feature-pthreads' into refs/top-bases/feature-branchBrian Behlendorf2009-07-084-83/+143
| | | |\ \ \ \ \ \ \ \ | | | | | |_|_|_|_|_|/ | | | | |/| | | | | |
| | | | * | | | | | | Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreadsBrian Behlendorf2009-07-081-2/+2
| | | | |\ \ \ \ \ \ \
| | | | | * | | | | | | Add new DMU_READ_PREFETCH flag to dmu_read().Brian Behlendorf2009-07-081-2/+2
| | | | | | | | | | | |
| | | | * | | | | | | | Stop the kthread/thread/pthread mixing and matching insanity. Update allBrian Behlendorf2009-07-084-81/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code to only use the kthread API regardless of if it is compiled in the kernel or user space. The kthread API will be layered on top of pthreads as best as possible in zfs_context, this is non optimal but much clearer.
* | | | | | | | | | | | Merge commit 'refs/top-bases/zfs-branch' into zfs-branchBrian Behlendorf2009-07-083-12/+25
|\| | | | | | | | | | |