HomeFreeBSD

Linux 4.16 compat: inode_set_iversion()

Description

Linux 4.16 compat: inode_set_iversion()

A new interface was added to manipulate the version field of an
inode. Add a inode_set_iversion() wrapper for older kernels and
use the new interface when available.

The i_version field was dropped from the trace point due to the
switch to an atomic64_t i_version type.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Chunwei Chen <david.chen@nutanix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7148

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Feb 8 2018, 10:27 PM
Parents
rG5b72a38d6845: OpenZFS 8677 - Open-Context Channel Programs
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG18f57327e0c2: Linux 4.16 compat: inode_set_iversion() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Feb 9 2018, 5:25 AM