Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 02c048b9 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: allow batching of FORGET requests



Terje Malmedal reports that a fuse filesystem with 32 million inodes
on a machine with lots of memory can take up to 30 minutes to process
FORGET requests when all those inodes are evicted from the icache.

To solve this, create a BATCH_FORGET request that allows up to about
8000 FORGET requests to be sent in a single message.

This request is only sent if userspace supports interface version 7.16
or later, otherwise fall back to sending individual FORGET messages.

Reported-by: default avatarTerje Malmedal <terje.malmedal@usit.uio.no>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 07e77dca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment