]> granicus.if.org Git - zfs/log
zfs
14 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Thu, 27 May 2010 20:25:20 +0000 (13:25 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

14 years agoRemove feature-pthreads prior to b141 update.
Brian Behlendorf [Thu, 27 May 2010 20:23:58 +0000 (13:23 -0700)]
Remove feature-pthreads prior to b141 update.

The pthreads change will need to be reworked and reapplied.
This will be easier to do from scratch rather than sort out
the merge.

14 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 18 May 2010 22:01:09 +0000 (15:01 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Tue, 18 May 2010 22:01:09 +0000 (15:01 -0700)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

14 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Tue, 18 May 2010 22:01:09 +0000 (15:01 -0700)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

14 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 18 May 2010 22:01:07 +0000 (15:01 -0700)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Tue, 18 May 2010 22:01:07 +0000 (15:01 -0700)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

14 years agoAdd AUTHORS to master branch
Brian Behlendorf [Tue, 18 May 2010 21:55:01 +0000 (14:55 -0700)]
Add AUTHORS to master branch

14 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Tue, 18 May 2010 21:33:38 +0000 (14:33 -0700)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

14 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Tue, 18 May 2010 21:33:38 +0000 (14:33 -0700)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

14 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 18 May 2010 21:33:38 +0000 (14:33 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

14 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 18 May 2010 21:33:37 +0000 (14:33 -0700)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Tue, 18 May 2010 21:33:36 +0000 (14:33 -0700)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

14 years agoUpdate COPYRIGHT to reference zpios CDDL exceptions.
Brian Behlendorf [Tue, 18 May 2010 21:25:28 +0000 (14:25 -0700)]
Update COPYRIGHT to reference zpios CDDL exceptions.

14 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 18 May 2010 18:14:04 +0000 (11:14 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Tue, 18 May 2010 18:14:03 +0000 (11:14 -0700)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

14 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Tue, 18 May 2010 18:14:03 +0000 (11:14 -0700)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

14 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 18 May 2010 18:14:02 +0000 (11:14 -0700)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Tue, 18 May 2010 18:14:01 +0000 (11:14 -0700)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

14 years agoUpdate COPYRIGHT to include release id LLNL-CODE-403049.
Brian Behlendorf [Tue, 18 May 2010 18:06:56 +0000 (11:06 -0700)]
Update COPYRIGHT to include release id LLNL-CODE-403049.

14 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Tue, 18 May 2010 17:39:19 +0000 (10:39 -0700)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

14 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Tue, 18 May 2010 17:39:19 +0000 (10:39 -0700)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

14 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 18 May 2010 17:39:19 +0000 (10:39 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Tue, 18 May 2010 17:39:17 +0000 (10:39 -0700)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

14 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 18 May 2010 17:39:17 +0000 (10:39 -0700)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

14 years agoUpdate COPYRIGHT and DISCLAIMER.
Brian Behlendorf [Tue, 18 May 2010 17:32:23 +0000 (10:32 -0700)]
Update COPYRIGHT and DISCLAIMER.

Update the COPYRIGHT and DISCLAIMER in an attempt to be clear about
the copyright and licensing issues.

14 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Thu, 29 Apr 2010 19:04:33 +0000 (12:04 -0700)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

14 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Thu, 29 Apr 2010 19:04:33 +0000 (12:04 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Thu, 29 Apr 2010 19:04:32 +0000 (12:04 -0700)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

14 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Thu, 29 Apr 2010 19:04:31 +0000 (12:04 -0700)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Thu, 29 Apr 2010 19:04:30 +0000 (12:04 -0700)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

14 years agoUpdate nvpair's to include nv_alloc_fixed support
Brian Behlendorf [Thu, 29 Apr 2010 18:59:41 +0000 (11:59 -0700)]
Update nvpair's to include nv_alloc_fixed support

14 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Thu, 29 Apr 2010 17:41:56 +0000 (10:41 -0700)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

14 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Thu, 29 Apr 2010 17:41:56 +0000 (10:41 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Thu, 29 Apr 2010 17:41:55 +0000 (10:41 -0700)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

14 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Thu, 29 Apr 2010 17:41:53 +0000 (10:41 -0700)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Thu, 29 Apr 2010 17:41:52 +0000 (10:41 -0700)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

14 years agoAdd Solaris FMA style support
Brian Behlendorf [Thu, 29 Apr 2010 17:37:15 +0000 (10:37 -0700)]
Add Solaris FMA style support

14 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Thu, 11 Mar 2010 17:55:41 +0000 (09:55 -0800)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

14 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Thu, 11 Mar 2010 17:55:41 +0000 (09:55 -0800)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Thu, 11 Mar 2010 17:55:40 +0000 (09:55 -0800)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

14 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Thu, 11 Mar 2010 17:55:39 +0000 (09:55 -0800)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Thu, 11 Mar 2010 17:55:38 +0000 (09:55 -0800)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

14 years agoRename update-zfs.sh -> zfs-update.sh for consistency
Brian Behlendorf [Thu, 11 Mar 2010 17:53:59 +0000 (09:53 -0800)]
Rename update-zfs.sh -> zfs-update.sh for consistency

14 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Tue, 9 Mar 2010 22:20:02 +0000 (14:20 -0800)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

14 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 9 Mar 2010 22:20:02 +0000 (14:20 -0800)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

14 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Tue, 9 Mar 2010 22:20:01 +0000 (14:20 -0800)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

14 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Tue, 9 Mar 2010 22:20:00 +0000 (14:20 -0800)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

14 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 9 Mar 2010 22:20:00 +0000 (14:20 -0800)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

14 years agoIgnore unsigned module build products
Brian Behlendorf [Tue, 9 Mar 2010 22:14:09 +0000 (14:14 -0800)]
Ignore unsigned module build products

Along with the addition of signed kernel modules in newer kernel
we have a few new build products we need to ignore.   LKLM has the
whole thread for those interested: http://lkml.org/lkml/2007/2/14/164

14 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Tue, 9 Mar 2010 21:24:27 +0000 (13:24 -0800)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

14 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 9 Mar 2010 21:24:27 +0000 (13:24 -0800)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

14 years agoUse CPU percentages for number of commit cb threads.
Ricardo M. Correia [Tue, 9 Mar 2010 21:21:20 +0000 (13:21 -0800)]
Use CPU percentages for number of commit cb threads.

This doesn't change number of threads in the kernel, but it reduces number of
threads in ztest (important due to 32-bit address limitations).

15 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Fri, 8 Jan 2010 19:39:30 +0000 (11:39 -0800)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

15 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Fri, 8 Jan 2010 19:39:30 +0000 (11:39 -0800)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

15 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Fri, 8 Jan 2010 19:39:29 +0000 (11:39 -0800)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

15 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Fri, 8 Jan 2010 19:39:28 +0000 (11:39 -0800)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

15 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Fri, 8 Jan 2010 19:39:28 +0000 (11:39 -0800)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

15 years agoAdd .gitignore files to exclude build products
Brian Behlendorf [Fri, 8 Jan 2010 19:35:17 +0000 (11:35 -0800)]
Add .gitignore files to exclude build products

15 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Sat, 12 Dec 2009 00:22:22 +0000 (16:22 -0800)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

15 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Sat, 12 Dec 2009 00:22:22 +0000 (16:22 -0800)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

15 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Sat, 12 Dec 2009 00:22:21 +0000 (16:22 -0800)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

15 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Sat, 12 Dec 2009 00:22:20 +0000 (16:22 -0800)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

15 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Sat, 12 Dec 2009 00:22:19 +0000 (16:22 -0800)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

15 years agoPull in latest man pages as part of update-zfs.sh
Brian Behlendorf [Sat, 12 Dec 2009 00:15:33 +0000 (16:15 -0800)]
Pull in latest man pages as part of update-zfs.sh

The script has been updated to download the latest documentations
packages for Solaris and extract the needed ZFS man pages.  These
will still need a little markup to handle changes between the
Solaris and Linux versions of ZFS.  Howver, they should be pretty
minor I've tried hard to keep the interface the same.

In additional to the script update the zdb, zfs, and zpool man
pages have been added to the repo.

15 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Mon, 16 Nov 2009 00:27:00 +0000 (16:27 -0800)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

15 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Mon, 16 Nov 2009 00:27:00 +0000 (16:27 -0800)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

15 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Mon, 16 Nov 2009 00:27:00 +0000 (16:27 -0800)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

15 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Mon, 16 Nov 2009 00:26:58 +0000 (16:26 -0800)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

15 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Mon, 16 Nov 2009 00:26:58 +0000 (16:26 -0800)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

15 years agoRemove zvol.c when updating in update-zfs.sh Linux version available.
Brian Behlendorf [Mon, 16 Nov 2009 00:20:01 +0000 (16:20 -0800)]
Remove zvol.c when updating in update-zfs.sh Linux version available.

15 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Fri, 9 Oct 2009 22:43:31 +0000 (15:43 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

15 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Fri, 9 Oct 2009 22:43:30 +0000 (15:43 -0700)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

15 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Fri, 9 Oct 2009 22:43:30 +0000 (15:43 -0700)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

15 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Fri, 9 Oct 2009 22:43:28 +0000 (15:43 -0700)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

15 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Fri, 9 Oct 2009 22:43:28 +0000 (15:43 -0700)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

15 years agoScript update-zfs.sh updated to include libefi library
Brian Behlendorf [Fri, 9 Oct 2009 22:37:29 +0000 (15:37 -0700)]
Script update-zfs.sh updated to include libefi library

15 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Tue, 18 Aug 2009 19:10:47 +0000 (12:10 -0700)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

15 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 18 Aug 2009 19:10:47 +0000 (12:10 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

15 years agoMerge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb
Brian Behlendorf [Tue, 18 Aug 2009 19:10:43 +0000 (12:10 -0700)]
Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb

15 years agoMerge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 18 Aug 2009 19:10:38 +0000 (12:10 -0700)]
Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch

15 years agoMerge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key
Brian Behlendorf [Tue, 18 Aug 2009 19:10:36 +0000 (12:10 -0700)]
Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key

15 years agoRebase master to b121
Brian Behlendorf [Tue, 18 Aug 2009 18:43:27 +0000 (11:43 -0700)]
Rebase master to b121

15 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 4 Aug 2009 22:54:17 +0000 (15:54 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

15 years agoRevert kthreads based on pthread thread specific data due to failure.
Brian Behlendorf [Tue, 4 Aug 2009 22:42:24 +0000 (15:42 -0700)]
Revert kthreads based on pthread thread specific data due to failure.
With this patch applied I get the following failure 100% of the time,
I'd prefer to debug it and keep moving forward but I do not have the
time right now so I'm reverting the patch to the version which worked.
Ricardo please fix.

(gdb) bt
0  ztest_dmu_write_parallel (za=0x2aaaac898960) at
../../cmd/ztest/ztest.c:2566
1  0x0000000000405a79 in ztest_thread (arg=<value optimized out>)
    at ../../cmd/ztest/ztest.c:3862
2  0x00002b2e6a7a841d in zk_thread_helper (arg=<value optimized out>)
    at ../../lib/libzpool/kernel.c:131
3  0x000000379be06367 in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
4  0x000000379b2d30ad in clone () from /lib64/libc.so.6

15 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 4 Aug 2009 21:39:04 +0000 (14:39 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

15 years agoRevert unneeded ztest_resume() prototype changes to match upstream.
Brian Behlendorf [Tue, 4 Aug 2009 21:29:50 +0000 (14:29 -0700)]
Revert unneeded ztest_resume() prototype changes to match upstream.

15 years agoReimplement user kthreads based on pthread thread specific data.
Ricardo M. Correia [Tue, 4 Aug 2009 20:55:15 +0000 (13:55 -0700)]
Reimplement user kthreads based on pthread thread specific data.
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 <behlendorf1@llnl.gov>
15 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Fri, 24 Jul 2009 18:08:40 +0000 (11:08 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

15 years agoChange VERIFY() into VERIFY3U() when creating threads in ztest, so that we can see...
Ricardo M. Correia [Fri, 24 Jul 2009 18:00:23 +0000 (11:00 -0700)]
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>
15 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 14 Jul 2009 23:49:22 +0000 (16:49 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

15 years agoRemove debug printf
Brian Behlendorf [Tue, 14 Jul 2009 23:35:13 +0000 (16:35 -0700)]
Remove debug printf

15 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Tue, 14 Jul 2009 21:34:35 +0000 (14:34 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

15 years agoProvide correct kthread API semantics using pthreads.
Brian Behlendorf [Tue, 14 Jul 2009 21:16:26 +0000 (14:16 -0700)]
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.

15 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Wed, 8 Jul 2009 22:00:39 +0000 (15:00 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

15 years agoMerge commit 'refs/top-bases/feature-pthreads' into feature-pthreads
Brian Behlendorf [Wed, 8 Jul 2009 22:00:39 +0000 (15:00 -0700)]
Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads

15 years agoAdd new DMU_READ_PREFETCH flag to dmu_read().
Brian Behlendorf [Wed, 8 Jul 2009 21:51:55 +0000 (14:51 -0700)]
Add new DMU_READ_PREFETCH flag to dmu_read().

15 years agoStop the kthread/thread/pthread mixing and matching insanity. Update all
Brian Behlendorf [Wed, 8 Jul 2009 21:47:23 +0000 (14:47 -0700)]
Stop the kthread/thread/pthread mixing and matching insanity.  Update all
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.

15 years agoMerge branch 'feature-pthreads' into refs/top-bases/feature-branch
Brian Behlendorf [Mon, 6 Jul 2009 22:38:48 +0000 (15:38 -0700)]
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch

15 years agoAdditional lock calls were added to ztest and they must be updated
Brian Behlendorf [Mon, 6 Jul 2009 22:31:54 +0000 (15:31 -0700)]
Additional lock calls were added to ztest and they must be updated
to use the pthread's API in favour of Solaris threads.