HomeFreeBSD

Share zfs_fsync, zfs_read, zfs_write, et al between Linux and FreeBSD

Description

Share zfs_fsync, zfs_read, zfs_write, et al between Linux and FreeBSD

The zfs_fsync, zfs_read, and zfs_write function are almost identical
between Linux and FreeBSD. With a little refactoring they can be
moved to the common code which is what is done by this commit.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #11078

Details

Provenance
mmacyAuthored on Oct 21 2020, 9:08 PM
GitHub <noreply@github.com>Committed on Oct 21 2020, 9:08 PM
Parents
rG666aa69f32ff: Non-l2arc pool reads shouldn't be l2arc misses
Branches
Unknown
Tags
Unknown