mirror_zfs/module/os
Brian Behlendorf 3fc92adc40
Linux: use filemap_range_has_page()
As of the 4.13 kernel filemap_range_has_page() can be used to
check if there is a page mapped in a given file range.  When
available this interface should be used which eliminates the
need for the zp->z_is_mapped boolean.

Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #14493
2023-02-14 11:04:34 -08:00
..
freebsd Reduce need for contiguous memory for ioctls 2023-02-13 16:35:59 -08:00
linux Linux: use filemap_range_has_page() 2023-02-14 11:04:34 -08:00