]> www.infradead.org Git - users/willy/linux.git/commit
iomap: Allow iomap_write_begin() to be called with the full length
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 9 Dec 2021 20:47:44 +0000 (15:47 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 10 Dec 2021 14:37:14 +0000 (09:37 -0500)
commit1ec443dd4bd0f92c4665ae5e3224cd95af13c296
tree5803c002e78e38ec71f7e213f342ac27c27c4c7a
parent319d34005e84ef3630db791ead5877bcdc0287a4
iomap: Allow iomap_write_begin() to be called with the full length

In the future, we want write_begin to know the entire length of the
write so that it can choose to allocate large folios.  Pass the full
length in from __iomap_zero_iter() and limit it where necessary.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/gfs2/bmap.c
fs/iomap/buffered-io.c