+24
−6
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Limit the maximum number of mb_cache entries depending on the number of hash buckets: if the only limit to the number of cache entries is the available memory the hash chains can grow very long, taking a long time to search. At least partially solves https://bugzilla.lustre.org/show_bug.cgi?id=22771 . Signed-off-by:Andreas Gruenbacher <agruen@suse.de> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>