HomeFreeBSD

Add I/O Read/Write Accounting

Description

Add I/O Read/Write Accounting

Because ZFS bypasses the page cache we don't inherit per-task I/O
accounting for free. However, the Linux kernel does provide helper
functions allow us to perform our own accounting. These are most
commonly used for direct IO which also bypasses the page cache, but
they can be used for the common read/write call paths as well.

Signed-off-by: Pavel Snajdr <snajpa@snajpa.net>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #313
Closes #1275

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Nov 15 2013, 5:59 PM
Parents
rG29714574fa17: Document ZFS module parameters.
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGe3dc14b86182: Add I/O Read/Write Accounting (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Nov 21 2013, 4:56 PM