summaryrefslogtreecommitdiff
path: root/sys/dev/DEVNAMES
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2012-10-15 14:15:59 +0000
committerriastradh <riastradh@NetBSD.org>2012-10-15 14:15:59 +0000
commitda5942059bd8b67c6948a746714457ca0abdd933 (patch)
tree9a04eee2475b72c1af570bd56dc7728e45bf6f99 /sys/dev/DEVNAMES
parent7131fffe9de5cb1e2b1824a2073e25f243533663 (diff)
Do reference counting for zfs range lock waiters.
Avoid cv_broadcast(&cv); cv_destroy(&cv); which works in Solaris only by abuse of the condvar abstraction. There are parts of this code that should be factored into smaller subroutines, mainly range lock allocation and initialization, but that would make it harder to merge newer versions of zfs, so for now I've just expanded those parts further in-line.
Diffstat (limited to 'sys/dev/DEVNAMES')
0 files changed, 0 insertions, 0 deletions