summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'feature-pthreads' into refs/top-bases/feature-branchBrian Behlendorf2009-08-045-141/+134
|\
| * Revert unneeded ztest_resume() prototype changes to match upstream.Brian Behlendorf2009-08-041-5/+2
| |
| * Reimplement user kthreads based on pthread thread specific data.Ricardo M. Correia2009-08-045-136/+132
| | | | | | | | | | | | | | | | This resolves previous scalabily concerns about the cost of calling curthread which previously required a list walk. The kthread address is now tracked as thread specific data which can be quickly returned. Signed-off-by: Brian Behlendorf <[email protected]>
* | Merge branch 'feature-pthreads' into refs/top-bases/feature-branchBrian Behlendorf2009-07-241-2/+2
|\|
| * Change VERIFY() into VERIFY3U() when creating threads in ztest, so that we ↵Ricardo M. Correia2009-07-241-2/+2
| | | | | | | | | | | | can see the return code when it fails. Signed-off-by: Brian Behlendorf <[email protected]>
* | Merge branch 'feature-pthreads' into refs/top-bases/feature-branchBrian Behlendorf2009-07-141-1/+0
|\|
| * Remove debug printfBrian Behlendorf2009-07-141-1/+0
| |
* | 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.
* | 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 branch 'feature-pthreads' into refs/top-bases/feature-branchBrian Behlendorf2009-07-061-9/+9
|\| |
| * | Additional lock calls were added to ztest and they must be updatedBrian Behlendorf2009-07-061-9/+9
| | | | | | | | | | | | to use the pthread's API in favour of Solaris threads.
* | | Merge branch 'feature-pthreads' into refs/top-bases/feature-branchBrian Behlendorf2009-07-060-0/+0
|\| |
| * | Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreadsBrian Behlendorf2009-07-06103-4091/+7627
| |\| | | | | | | | | | | | | | | | Conflicts: cmd/ztest/ztest.c
| | * Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cbBrian Behlendorf2009-07-06103-4089/+7625
| | |\
* | | \ Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branchBrian Behlendorf2009-07-06103-4091/+7627
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cmd/ztest/ztest.c
| * \ \ \ Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵Brian Behlendorf2009-07-06103-4089/+7625
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | feature-zap-cursor-to-key
| | * | | Rebase master to b117Brian Behlendorf2009-07-02103-4089/+7625
| | | | |
* | | | | Merge branch 'feature-pthreads' into refs/top-bases/feature-branchBrian Behlendorf2009-03-201-1/+1
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreadsBrian Behlendorf2009-03-201-1/+1
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | Fix uninitialized variable error in ztest_dmu_commit_callbacks()Brian Behlendorf2009-03-201-1/+1
| | | | |
* | | | | Merge branch 'feature-pthreads' into refs/top-bases/feature-branchBrian Behlendorf2009-03-192-5/+5
|\| | | |
| * | | | Update mutex_lock to pthread_mutex_lock for zcl->zcl_callback_locks.Brian Behlendorf2009-03-191-4/+4
| | | | |
| * | | | Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreadsBrian Behlendorf2009-03-191-1/+1
| |\| | |
| | * | | Add extra () requested by gccBrian Behlendorf2009-03-191-1/+1
| | | | |
* | | | | Merge branch 'feature-pthreads' into refs/top-bases/feature-branchBrian Behlendorf2009-03-1913-166/+628
|\| | | |
| * | | | Add 'feature-pthreads' branch to features branch.Brian Behlendorf2009-03-199-168/+236
| |/ / /
| * | / Add 'feature-commit-cb' branch for DMU commit callbacks.Brian Behlendorf2009-03-199-11/+415
| | |/ | |/|
* | | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branchBrian Behlendorf2009-02-1839-736/+1088
|\ \ \ | | |/ | |/|
| * | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵Brian Behlendorf2009-02-1839-736/+1088
| |\| | | | | | | | | | feature-zap-cursor-to-key
| | * Rebase master to b108Brian Behlendorf2009-02-1839-736/+1088
| | |
* | | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branchBrian Behlendorf2009-01-261-1/+1
|\| |
| * | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵Brian Behlendorf2009-01-261-1/+1
| |\| | | | | | | | | | feature-zap-cursor-to-key
| | * Refresh type in topgit git://* referenceBrian Behlendorf2009-01-261-1/+1
| | |
* | | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branchBrian Behlendorf2009-01-201-0/+197
|\| |
| * | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵Brian Behlendorf2009-01-201-0/+197
| |\| | | | | | | | | | feature-zap-cursor-to-key
| | * Add GIT to masterBrian Behlendorf2009-01-201-0/+197
| | |
* | | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branchBrian Behlendorf2009-01-1550-850/+1603
|\| |
| * | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵Brian Behlendorf2009-01-1550-850/+1603
| |\| | | | | | | | | | feature-zap-cursor-to-key
| | * Rebase master to b105Brian Behlendorf2009-01-1550-850/+1603
| | |
* | | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branchBrian Behlendorf2009-01-055-0/+38485
|\| |
| * | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵Brian Behlendorf2009-01-055-0/+38485
| |\| | | | | | | | | | feature-zap-cursor-to-key
| | * Add unicode libraryBrian Behlendorf2009-01-055-0/+38485
| | |
* | | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branchBrian Behlendorf2009-01-052-668/+0
|\| |
| * | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵Brian Behlendorf2009-01-052-668/+0
| |\| | | | | | | | | | feature-zap-cursor-to-key
| | * Remove zdump, it's an unrelateds command which I added simply due to the z* ↵Brian Behlendorf2009-01-052-668/+0
| | | | | | | | | | | | command convention
* | | Merge branch 'feature-commit-cb' into refs/top-bases/feature-branchBrian Behlendorf2008-12-187-192/+3
|\ \ \