]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fuse: update stats for pages in dropped aux writeback list
authorJoanne Koong <joannelkoong@gmail.com>
Mon, 26 Aug 2024 21:19:04 +0000 (14:19 -0700)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 28 Aug 2024 16:10:29 +0000 (18:10 +0200)
commitf7790d67785302b3116bbbfda62a5a44524601a3
tree9ddfb4a0c61e761e09ee790b5c0a30e1fe7bf811
parent76a51ac00ca2a72fe3e168b7fb0e70f75ba6f512
fuse: update stats for pages in dropped aux writeback list

In the case where the aux writeback list is dropped (e.g. the pages
have been truncated or the connection is broken), the stats for
its pages and backing device info need to be updated as well.

Fixes: e2653bd53a98 ("fuse: fix leaked aux requests")
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Cc: <stable@vger.kernel.org> # v5.1
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/file.c