]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fuse: use the folio based vmstat helpers
authorJosef Bacik <josef@toxicpanda.com>
Mon, 30 Sep 2024 13:45:16 +0000 (09:45 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 25 Oct 2024 15:05:50 +0000 (17:05 +0200)
commit949d67ac2eff129f1dbe2d6dc69f51f4f64281f2
treeb8fa1f92a2c939d26fbbd9d2fe01e1d40284f110
parent6930b8dac19ee86282222ea1cb559ee0602e4877
fuse: use the folio based vmstat helpers

In order to make it easier to switch to folios in the fuse_args_pages
update the places where we update the vmstat counters for writeback to
use the folio related helpers.  On the inc side this is easy as we
already have the folio, on the dec side we have to page_folio() the
pages for now.

Reviewed-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/file.c