HomeFreeBSD

Linux 4.1 compat: use read_iter() / write_iter()

Description

Linux 4.1 compat: use read_iter() / write_iter()

Linux 3.15 commit torvalds/linux@293bc98 introduced two new methods.
The ->read_iter() and ->write_iter() methods were designed to replace
the ->aio_read() and ->aio_write() interfaces. Both interfaces were
preserved for several kernel releases in order to migrate all existing
consumers to the new interfaces. But as of Linux 4.1 the legacy
interface has been retired and the ZFS code must be updated to use
the new interfaces.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3352

Details

Provenance
Matus Kral <matuskral@me.com>Authored on May 11 2015, 11:26 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 18 2015, 7:06 PM
Parents
rGec1c11d5ee1a: Update dracut README
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG57ae840077e6: Linux 4.1 compat: use read_iter() / write_iter() (authored by Matus Kral <matuskral@me.com>).Jun 18 2015, 7:06 PM