Mark Johnston 46b2623586
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
2021-08-02 13:18:24 -06:00
..
2021-07-26 12:07:53 -07:00
2021-07-26 12:07:39 -07:00
2020-06-10 09:24:15 -07:00
2021-04-02 18:52:15 -07:00
2021-07-27 16:05:47 -07:00
2021-06-25 22:28:12 -07:00
2020-06-10 09:24:15 -07:00
2020-08-20 10:30:06 -07:00