Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'feature-pthreads' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-08-04 | 5 | -141/+134 |
|\ | |||||
| * | Revert unneeded ztest_resume() prototype changes to match upstream. | Brian Behlendorf | 2009-08-04 | 1 | -5/+2 |
| | | |||||
| * | Reimplement user kthreads based on pthread thread specific data. | Ricardo M. Correia | 2009-08-04 | 5 | -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-branch | Brian Behlendorf | 2009-07-24 | 1 | -2/+2 |
|\| | |||||
| * | Change VERIFY() into VERIFY3U() when creating threads in ztest, so that we ↵ | Ricardo M. Correia | 2009-07-24 | 1 | -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-branch | Brian Behlendorf | 2009-07-14 | 1 | -1/+0 |
|\| | |||||
| * | Remove debug printf | Brian Behlendorf | 2009-07-14 | 1 | -1/+0 |
| | | |||||
* | | Merge branch 'feature-pthreads' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-07-14 | 5 | -99/+228 |
|\| | |||||
| * | Provide correct kthread API semantics using pthreads. | Brian Behlendorf | 2009-07-14 | 5 | -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-branch | Brian Behlendorf | 2009-07-08 | 4 | -83/+143 |
|\| | |||||
| * | Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads | Brian Behlendorf | 2009-07-08 | 1 | -2/+2 |
| |\ | |||||
| | * | Add new DMU_READ_PREFETCH flag to dmu_read(). | Brian Behlendorf | 2009-07-08 | 1 | -2/+2 |
| | | | |||||
| * | | Stop the kthread/thread/pthread mixing and matching insanity. Update all | Brian Behlendorf | 2009-07-08 | 4 | -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-branch | Brian Behlendorf | 2009-07-06 | 1 | -9/+9 |
|\| | | |||||
| * | | Additional lock calls were added to ztest and they must be updated | Brian Behlendorf | 2009-07-06 | 1 | -9/+9 |
| | | | | | | | | | | | | to use the pthread's API in favour of Solaris threads. | ||||
* | | | Merge branch 'feature-pthreads' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-07-06 | 0 | -0/+0 |
|\| | | |||||
| * | | Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads | Brian Behlendorf | 2009-07-06 | 103 | -4091/+7627 |
| |\| | | | | | | | | | | | | | | | | Conflicts: cmd/ztest/ztest.c | ||||
| | * | Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb | Brian Behlendorf | 2009-07-06 | 103 | -4089/+7625 |
| | |\ | |||||
* | | \ | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-07-06 | 103 | -4091/+7627 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cmd/ztest/ztest.c | ||||
| * \ \ \ | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵ | Brian Behlendorf | 2009-07-06 | 103 | -4089/+7625 |
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | feature-zap-cursor-to-key | ||||
| | * | | | Rebase master to b117 | Brian Behlendorf | 2009-07-02 | 103 | -4089/+7625 |
| | | | | | |||||
* | | | | | Merge branch 'feature-pthreads' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-03-20 | 1 | -1/+1 |
|\ \ \ \ \ | | |_|/ / | |/| | | | |||||
| * | | | | Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads | Brian Behlendorf | 2009-03-20 | 1 | -1/+1 |
| |\ \ \ \ | | | |_|/ | | |/| | | |||||
| | * | | | Fix uninitialized variable error in ztest_dmu_commit_callbacks() | Brian Behlendorf | 2009-03-20 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge branch 'feature-pthreads' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-03-19 | 2 | -5/+5 |
|\| | | | | |||||
| * | | | | Update mutex_lock to pthread_mutex_lock for zcl->zcl_callback_locks. | Brian Behlendorf | 2009-03-19 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads | Brian Behlendorf | 2009-03-19 | 1 | -1/+1 |
| |\| | | | |||||
| | * | | | Add extra () requested by gcc | Brian Behlendorf | 2009-03-19 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge branch 'feature-pthreads' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-03-19 | 13 | -166/+628 |
|\| | | | | |||||
| * | | | | Add 'feature-pthreads' branch to features branch. | Brian Behlendorf | 2009-03-19 | 9 | -168/+236 |
| |/ / / | |||||
| * | / | Add 'feature-commit-cb' branch for DMU commit callbacks. | Brian Behlendorf | 2009-03-19 | 9 | -11/+415 |
| | |/ | |/| | |||||
* | | | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-02-18 | 39 | -736/+1088 |
|\ \ \ | | |/ | |/| | |||||
| * | | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵ | Brian Behlendorf | 2009-02-18 | 39 | -736/+1088 |
| |\| | | | | | | | | | | feature-zap-cursor-to-key | ||||
| | * | Rebase master to b108 | Brian Behlendorf | 2009-02-18 | 39 | -736/+1088 |
| | | | |||||
* | | | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-01-26 | 1 | -1/+1 |
|\| | | |||||
| * | | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵ | Brian Behlendorf | 2009-01-26 | 1 | -1/+1 |
| |\| | | | | | | | | | | feature-zap-cursor-to-key | ||||
| | * | Refresh type in topgit git://* reference | Brian Behlendorf | 2009-01-26 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-01-20 | 1 | -0/+197 |
|\| | | |||||
| * | | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵ | Brian Behlendorf | 2009-01-20 | 1 | -0/+197 |
| |\| | | | | | | | | | | feature-zap-cursor-to-key | ||||
| | * | Add GIT to master | Brian Behlendorf | 2009-01-20 | 1 | -0/+197 |
| | | | |||||
* | | | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-01-15 | 50 | -850/+1603 |
|\| | | |||||
| * | | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵ | Brian Behlendorf | 2009-01-15 | 50 | -850/+1603 |
| |\| | | | | | | | | | | feature-zap-cursor-to-key | ||||
| | * | Rebase master to b105 | Brian Behlendorf | 2009-01-15 | 50 | -850/+1603 |
| | | | |||||
* | | | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-01-05 | 5 | -0/+38485 |
|\| | | |||||
| * | | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵ | Brian Behlendorf | 2009-01-05 | 5 | -0/+38485 |
| |\| | | | | | | | | | | feature-zap-cursor-to-key | ||||
| | * | Add unicode library | Brian Behlendorf | 2009-01-05 | 5 | -0/+38485 |
| | | | |||||
* | | | Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch | Brian Behlendorf | 2009-01-05 | 2 | -668/+0 |
|\| | | |||||
| * | | Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into ↵ | Brian Behlendorf | 2009-01-05 | 2 | -668/+0 |
| |\| | | | | | | | | | | feature-zap-cursor-to-key | ||||
| | * | Remove zdump, it's an unrelateds command which I added simply due to the z* ↵ | Brian Behlendorf | 2009-01-05 | 2 | -668/+0 |
| | | | | | | | | | | | | command convention | ||||
* | | | Merge branch 'feature-commit-cb' into refs/top-bases/feature-branch | Brian Behlendorf | 2008-12-18 | 7 | -192/+3 |
|\ \ \ |