]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow disabling of unmapped I/O on FreeBSD
authorMark Johnston <markjdb@gmail.com>
Mon, 2 Aug 2021 19:18:24 +0000 (15:18 -0400)
committerTony Hutter <hutter2@llnl.gov>
Tue, 14 Sep 2021 21:29:46 +0000 (14:29 -0700)
commit451d6da98838a570a9a1b8607c02802462999c28
treee5ebff8a869a57603929b07543734e26a16cb647
parente298ac5d04c96c7351b1314922be6ea443301b98
Allow disabling of unmapped I/O on FreeBSD

We have a tunable which permits one to disable the use of unmapped I/O
for the buffer cache.  Respect it in ZFS as well.  This is useful for
KMSAN, which cannot easily maintain shadow state for unmapped pages.

No functional change intended, as unmapped I/O is permitted by default
and there's no real reason to disable it in practice except for
debugging.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Closes #12446
module/os/freebsd/zfs/vdev_geom.c