]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fuse: use fuse_range_is_writeback() instead of iterating pages
authorJosef Bacik <josef@toxicpanda.com>
Mon, 30 Sep 2024 13:45:09 +0000 (09:45 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 25 Oct 2024 15:05:49 +0000 (17:05 +0200)
commitaaa32429da09a9afa0f54a197733d757334ed169
tree151937d09e1f6ca5e683e55523c64d5df5e267bd
parent86b74eb5a11e878151eb429c3810f1dcda090b8c
fuse: use fuse_range_is_writeback() instead of iterating pages

fuse_send_readpages() waits for writeback on each page.  This can be
replaced by a single call to fuse_range_is_writeback().

[SzM: split this off from "fuse: convert readahead to use folios"]

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