mirror_zfs/module/os/freebsd/zfs
Ryan Moeller c0eb5c35ef
FreeBSD: Simplify zvol and fix locking
zvol_geom_bio_strategy should handle its own use of the zvol
suspend reader lock and ensure the zilog exists when needed.

A few other places using the zvol zilog should use the suspend
reader lock as well.

Simplify consumers of zvol_geom_bio_strategy, fix the locking, and
while in here, use the boolean_t constants with doread.

Reviewed-by: Matt Macy <mmacy@FreeBSD.org>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10381
2020-06-03 10:45:12 -07:00
..
abd_os.c Gang ABD Type 2020-05-20 18:06:09 -07:00
arc_os.c Update FreeBSD tunables 2020-04-15 11:14:47 -07:00
crypto_os.c Fix crypto build on FreeBSD HEAD 2020-05-30 12:54:57 -07:00
dmu_os.c Use new FreeBSD API to largely eliminate object locking 2020-04-17 09:30:26 -07:00
hkdf.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
kmod_core.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
spa_os.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
spa_stats.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
sysctl_os.c Update FreeBSD tunables 2020-04-15 11:14:47 -07:00
vdev_file.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
vdev_geom.c Avoid the GEOM topology lock recursion when autoexpanding a pool 2020-05-04 15:10:41 -07:00
vdev_label_os.c Add support for boot environment data to be stored in the label 2020-05-07 09:36:33 -07:00
zfs_acl.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
zfs_ctldir.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
zfs_debug.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
zfs_dir.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
zfs_file_os.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
zfs_fuid_os.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
zfs_ioctl_os.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
zfs_onexit_os.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
zfs_vfsops.c freebsd: Correct the order of arguments to copyin() for Q_SETQUOTA 2020-05-19 16:45:25 -07:00
zfs_vnops.c freebsd: return EISDIR for read(2) on directories 2020-05-16 10:12:01 -07:00
zfs_znode.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
zio_crypt.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
zvol_os.c FreeBSD: Simplify zvol and fix locking 2020-06-03 10:45:12 -07:00