iomap: Support inline data with block size < page size
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 2 Aug 2021 21:45:57 +0000 (14:45 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 3 Aug 2021 16:43:13 +0000 (09:43 -0700)
commitb405435b419cb660455ba54fd47086216e58fed6
treed3773c2879ba73951a3f20b3aab4a2b54719548d
parent69f4a26c1e0c7c5e5e77c5bd7b271743c124c545
iomap: Support inline data with block size < page size

Remove the restriction that inline data must start on a page boundary
in a file.  This allows, for example, the first 2KiB to be stored out
of line and the trailing 30 bytes to be stored inline.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c