diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2018-06-19 15:10:56 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-06-19 15:10:56 -0700 |
commit | 19e0c58f6552638c86395f0717210326fdf14fd2 (patch) | |
tree | 9ab550efae0c4ddac55cdf3fffd4ccf6c6c0dc7a /include/target | |
parent | ebf00be37de35788cad72f4f20b4a39e30c0be4a (diff) | |
download | lwn-19e0c58f6552638c86395f0717210326fdf14fd2.tar.gz lwn-19e0c58f6552638c86395f0717210326fdf14fd2.zip |
iomap: generic inline data handling
Add generic inline data handling by adding a pointer to the inline data
region to struct iomap. When handling a buffered IOMAP_INLINE write,
iomap_write_begin will copy the current inline data from the inline data
region into the page cache, and iomap_write_end will copy the changes in
the page cache back to the inline data region.
This doesn't cover inline data reads and direct I/O yet because so far,
we have no users.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
[hch: small cleanups to better fit in with other iomap work]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions