OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. b21d0930e56a3331cd94c30a07e9d8fdebdcd5c4
Gerrit Code Review
gerrit@openafs.org
Wed, 16 Dec 2009 23:00:47 -0800 (PST)
The following commit has been merged in the openafs-stable-1_4_x branch:
commit b21d0930e56a3331cd94c30a07e9d8fdebdcd5c4
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date: Mon Oct 26 18:52:52 2009 +0000
Remove hardcoded maximum time
When iterating across the buffer list, afs_newslot used a hardcoded
maximum time to find the oldest. Instead of using this, just use the
accesstime of the first unused buffer that we find as the oldest, and
continue as normal.
Change-Id: Ifeacb8a407901b46a23fbc838b1fca761108ebbb
Reviewed-on: http://gerrit.openafs.org/738
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 293e8c6a1048bf3c342134b5ca6f79d68023258b)
Reviewed-on: http://gerrit.openafs.org/981
src/afs/afs_buffer.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository