OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-639-g9ff45e7
Gerrit Code Review
Fri, 10 Jul 2020 01:26:03 -0400
The following commit has been merged in the master branch:
Author: Andrew Deason <firstname.lastname@example.org>
Date: Mon Jul 16 16:53:34 2018 -0500
afs: Skip bulkstat if stat cache looks full
Currently, afs_lookup() will try to prefetch dir entries for normal
dirs via bulkstat whenever multiple pids are reading that dir.
However, if we already have a lot of vcaches, ShakeLooseVCaches may be
struggling to limit the vcaches we already have. Entering
afs_DoBulkStat can make this worse, since we grab afs_xvcache
repeatedly, we may kick out other vcaches, and we'll possibly create
30 new vcaches that may not even be used before they're evicted.
To try to avoid this, skip running afs_DoBulkStat if it looks like the
stat cache is really full.
Reviewed-by: Cheyenne Wills <email@example.com>
Tested-by: BuildBot <firstname.lastname@example.org>
Reviewed-by: Benjamin Kaduk <email@example.com>
src/afs/VNOPS/afs_vnop_lookup.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
OpenAFS Master Repository