mirror_zfs/include/os/freebsd/zfs/sys
Mateusz Guzik 789f3d0e56 FreeBSD: switch teardown lock to rms
This deserializes otherwise non-contending operations.

The previous scheme of using 17 locks hashed by curthread runs into
conflicts very quickly. Check the pull request for sample results.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matt Macy <mmacy@FreeBSD.org>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Closes #11153
2021-06-23 13:22:14 -07:00
..
freebsd_crypto.h Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
Makefile.am Share zfs_fsync, zfs_read, zfs_write, et al between Linux and FreeBSD 2020-12-23 14:34:59 -08:00
sha2.h Changes to make openzfs build within FreeBSD buildworld 2020-07-31 21:30:31 -07:00
vdev_os.h Add prototypes 2020-06-18 12:21:32 -07:00
zfs_bootenv_os.h zfs label bootenv should store data as nvlist 2020-09-15 18:36:12 -07:00
zfs_context_os.h Share zfs_fsync, zfs_read, zfs_write, et al between Linux and FreeBSD 2020-12-23 14:34:59 -08:00
zfs_ctldir.h Throw const on some strings 2020-10-16 12:55:56 -07:00
zfs_dir.h Throw const on some strings 2020-10-16 12:55:56 -07:00
zfs_ioctl_compat.h FreeBSD: zfs commands backward compatibility 2020-07-15 21:32:50 -07:00
zfs_vfsops_os.h FreeBSD: switch teardown lock to rms 2021-06-23 13:22:14 -07:00
zfs_vnops_os.h Share zfs_fsync, zfs_read, zfs_write, et al between Linux and FreeBSD 2020-12-23 14:34:59 -08:00
zfs_znode_impl.h Macroify teardown lock handling 2021-06-23 13:22:14 -07:00
zpl.h Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00