b=15691
i=huanghua
i=tappro
1) Prevent "ll_sa_wrong" from being increased repeatedly when hit ratio is low.
2) Remount client before sanity 123a to eliminate previous test effect.
sbi->ll_sa_miss++;
sai->sai_miss++;
sai->sai_consecutive_miss++;
- if (sa_low_hit(sai)) {
+ if (sa_low_hit(sai) &&
+ sai->sai_thread.t_flags & SVC_RUNNING) {
sbi->ll_sa_wrong++;
CDEBUG(D_READA, "statahead for dir %.*s hit "
"ratio too low: hit/miss %u/%u, "
log "testing on UP system. Performance may be not as good as expected."
fi
+ remount_client $MOUNT
mkdir -p $DIR/$tdir
error=0
NUMFREE=`df -i -P $DIR | tail -n 1 | awk '{ print $4 }'`