]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a tunable to disable BRT support.
authorRich Ercolani <214141+rincebrain@users.noreply.github.com>
Thu, 16 Nov 2023 19:35:22 +0000 (14:35 -0500)
committerGitHub <noreply@github.com>
Thu, 16 Nov 2023 19:35:22 +0000 (11:35 -0800)
commit03e9caaec006134b3db9d02ac40fe9369ee78b03
treef6a1da33e5a886c5ce3b80189efdbd806e33c337
parent5796e3a74265f1d808b232dcaf65ba440de019c0
Add a tunable to disable BRT support.

Copy the disable parameter that FreeBSD implemented, and extend it to
work on Linux as well, until we're sure this is stable.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #15529
include/os/freebsd/zfs/sys/zfs_vfsops_os.h
include/os/linux/zfs/sys/zfs_vfsops_os.h
man/man4/zfs.4
module/os/freebsd/zfs/zfs_vfsops.c
module/os/freebsd/zfs/zfs_vnops_os.c
module/os/linux/zfs/zfs_vnops_os.c
module/os/linux/zfs/zpl_file_range.c
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/include/tunables.cfg
tests/zfs-tests/tests/functional/block_cloning/cleanup.ksh
tests/zfs-tests/tests/functional/block_cloning/setup.ksh