diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-05-19 23:18:05 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-07-25 01:04:30 +0300 |
commit | d6bb59a9444d218dc60dee3b45fd93c0d4f5e123 (patch) | |
tree | 446d98b7105177d2867ae2246e3107681d480b11 /fs/gfs2/bmap.c | |
parent | 4f66170119107f1452d2438ba4606e105e9e3afe (diff) | |
download | linux-d6bb59a9444d218dc60dee3b45fd93c0d4f5e123.tar.xz |
iomap: Create large folios in the buffered write path
Use the size of the write as a hint for the size of the folio to create.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/gfs2/bmap.c')
-rw-r--r-- | fs/gfs2/bmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c index 8d611fbcf0bd..521d1e00a0ff 100644 --- a/fs/gfs2/bmap.c +++ b/fs/gfs2/bmap.c @@ -971,7 +971,7 @@ gfs2_iomap_get_folio(struct iomap_iter *iter, loff_t pos, unsigned len) if (status) return ERR_PTR(status); - folio = iomap_get_folio(iter, pos); + folio = iomap_get_folio(iter, pos, len); if (IS_ERR(folio)) gfs2_trans_end(sdp); return folio; |