]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/iomap.c
iomap: support direct I/O to inline data
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 3 Jul 2018 16:07:47 +0000 (09:07 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 3 Jul 2018 16:07:47 +0000 (09:07 -0700)
commitec181f6782d8e8c22aa2c3462a20195cfa214ec6
tree9964be2a222f956a248936083fc997fd6552f4d9
parent09230435dffdb13de507e5e40b524b0069fc5c7b
iomap: support direct I/O to inline data

Add support for reading from and writing to inline data to iomap_dio_rw.
This saves filesystems from having to implement fallback code for this
case.

The inline data is actually cached in the inode, so the I/O is only
direct in the sense that it doesn't go through the page cache.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/iomap.c