OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3115-g3369391
Gerrit Code Review
gerrit@openafs.org
Tue, 13 Nov 2012 10:38:40 -0800 (PST)
The following commit has been merged in the master branch:
commit 336939179721d79a6798614ff747dd06701e3edc
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Nov 1 13:41:06 2012 -0500
afs: Traverse discard/free dslot list if errors
Currently, when we pull a dslot off of the discard or free list, we
just try to get the first entry from the list, and panic if we cannot
get it. Instead, traverse through the whole list, trying to find an
entry we can successfully get. This introduces the helper function
afs_GetDSlotFromList to do this traversal.
This does not yet address the case where we cannot get any entry on
the relevant list.
Change-Id: Iedbcffcbeb5dda61fde8e1d526e793f68c3200b3
Reviewed-on: http://gerrit.openafs.org/8376
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/afs/afs_dcache.c | 48 +++++++++++++++++++++++++++++++++---------------
1 files changed, 33 insertions(+), 15 deletions(-)
--
OpenAFS Master Repository