mirror_zfs/module/os/freebsd/zfs
Brian Behlendorf 164d184ed9 Additional limits on hole reporting
Holding the zp->z_rangelock as a RL_READER over the range
0-UINT64_MAX is sufficient to prevent the dnode from being
re-dirtied by concurrent writers.  To avoid potentially
looping multiple times for external caller which do not
take the rangelock holes are not reported after the first
sync.  While not optimal this is always functionally correct.

This change adds the missing rangelock calls on FreeBSD to
zvol_cdev_ioctl().

Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #14512
Closes #14641
2023-03-29 10:40:49 -07:00
..
abd_os.c Avoid small buffer copying on write 2022-07-26 10:10:37 -07:00
arc_os.c FreeBSD: Remove extra arc_reduce_target_size() call 2023-03-24 12:27:52 -05:00
crypto_os.c FreeBSD: Improve crypto_dispatch() handling 2022-07-26 10:10:37 -07:00
dmu_os.c FreeBSD: Clean up ASSERT/VERIFY use in module 2021-09-14 12:02:23 -07:00
hkdf.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
kmod_core.c FreeBSD: Remove stray debug printf 2023-01-19 12:50:36 -08:00
spa_os.c FreeBSD: Fix potential boot panic with bad label 2023-01-05 11:00:09 -08:00
sysctl_os.c Turn default_bs and default_ibs into ZFS_MODULE_PARAMs 2023-03-07 13:58:36 -08:00
vdev_file.c module: zfs: fix unused, remove argsused 2022-02-16 17:58:56 -08:00
vdev_geom.c Improve too large physical ashift handling 2022-09-21 13:15:15 -07:00
vdev_label_os.c FreeBSD: Clean up ASSERT/VERIFY use in module 2021-09-14 12:02:23 -07:00
zfs_acl.c Fix ACL checks for NFS kernel server 2022-03-20 21:21:18 -07:00
zfs_ctldir.c FreeBSD: stop passing LK_INTERLOCK to VOP_LOCK 2022-09-28 10:35:13 -07:00
zfs_debug.c Annotated dprintf as printf-like 2021-06-24 13:12:36 -07:00
zfs_dir.c FreeBSD: Clean up ASSERT/VERIFY use in module 2021-09-14 12:02:23 -07:00
zfs_file_os.c FreeBSD: handle V_PCATCH 2022-09-28 10:35:13 -07:00
zfs_ioctl_compat.c FreeBSD: Fix out of bounds read in zfs_ioctl_ozfs_to_legacy() 2022-12-01 12:39:43 -08:00
zfs_ioctl_os.c libzfs: On FreeBSD, use MNT_NOWAIT with getfsstat 2021-06-09 13:05:34 -07:00
zfs_racct.c module: zfs: fix unused, remove argsused 2022-02-16 17:58:56 -08:00
zfs_vfsops.c Avoid a null pointer dereference in zfs_mount() on FreeBSD 2023-02-06 10:40:16 -08:00
zfs_vnops_os.c FreeBSD: catch up to 1400068 2022-09-28 10:35:13 -07:00
zfs_znode.c FreeBSD: catch up to 1400077 2023-01-19 12:50:42 -08:00
zio_crypt.c module: zfs: fix unused, remove argsused 2022-02-16 17:58:56 -08:00
zvol_os.c Additional limits on hole reporting 2023-03-29 10:40:49 -07:00