Marc Dionne 2aab481dfa libafs: Fix second pass in ShakeLooseVCaches
Commit 3105c7ff introduced a two phase process for reclaiming
vcache entries.  First go through the list and do what's possible
without sleeping (skipping aliased dentries on Linux), then do
a second pass only if necessary, allowing sleeping.

Unfortunately the test for the end of the VLRU scan is incorrect
and can never trigger, so this second pass was effectively disabled
and any code that is conditional on defersleep=1 was never
exercised.  The code to start the second scan also has issues.

Fix the end of VLRU test, and also correctly set the variables
needed to restart the scan.

Change-Id: I8034cd3b79aab4f2976ab2559c13c102126480d7
Reviewed-on: http://gerrit.openafs.org/8234
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit a7828d50a82384e6d0fb0ad5b5a702f768029581)
Reviewed-on: http://gerrit.openafs.org/8247
2012-10-18 02:32:19 -07:00
..
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-01-11 13:12:39 -08:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-05-28 07:47:08 -07:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00
2012-09-29 06:39:30 -07:00