]> www.infradead.org Git - users/hch/misc.git/commit
nilfs2: convert metadata aops from writepage to writepages
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 24 Oct 2024 09:25:46 +0000 (18:25 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Nov 2024 01:12:40 +0000 (17:12 -0800)
commit013a07052a1a02d6d8bebf84ad3a8cb483292da7
tree4ed52800d38603976c220b423f035f88d07c4f31
parentb18d78dec38e0ccd06e968396388eadea1da1c4e
nilfs2: convert metadata aops from writepage to writepages

By implementing ->writepages instead of ->writepage, we remove a layer of
indirect function calls from the writeback path and the last use of struct
page in nilfs2.

[konishi.ryusuke@gmail.com: fixed panic by using buffer_migrate_folio_norefs]
Link: https://lkml.kernel.org/r/20241002150036.1339475-5-willy@infradead.org
Link: https://lkml.kernel.org/r/20241024092602.13395-13-konishi.ryusuke@gmail.com
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nilfs2/mdt.c