]> git.proxmox.com Git - mirror_zfs.git/commit - cmd/ztest/ztest.c
Use zfs range locks in ztest
authorBoris Protopopov <boris.protopopov@actifio.com>
Tue, 5 Jan 2016 20:47:58 +0000 (15:47 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 17 May 2016 17:40:30 +0000 (10:40 -0700)
commite3a07cd033920c2266a1ffdb8cfae951dfee3bf4
tree9dc8ffc81a2ab723bb6988b002318ecc727afaa7
parentd88895a069765bc3c6119ac1a3c8ea9edec7a370
Use zfs range locks in ztest

The zfs range lock interface no longer tightly depends on a
znode_t and therefore can be used in ztest.  This allows the
previous ztest specific implementation to be removed, and for
additional test coverage of the shared version.

Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Boris Protopopov <boris.protopopov@actifio.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #4023
Issue #4024
cmd/ztest/ztest.c
include/sys/zfs_rlock.h
lib/libzpool/Makefile.am