OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre1-30-g467266d
Gerrit Code Review
gerrit@openafs.org
Wed, 12 Jan 2011 06:15:40 -0800 (PST)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 8cc17dde65f0ce42802fb29f07e9e98001764fec
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Sun Nov 7 15:06:16 2010 -0500
Cache bypass: release and unlock pages when we get 0-length reply
In some cases, such as reading past the end of file as known to the
server, fetchdata will get a 0 length reply. Deal gracefully by
unlocking and releasing any pages reserved by readpages. Failure
to do so here leads to deadlocks later as we can exit with some pages
still locked.
Reviewed-on: http://gerrit.openafs.org/3283
Reviewed-by: Matt Benjamin <matt@linuxbox.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit e4250dc64eb26b5da1480e9f5bd58d016f81847f)
Change-Id: I54dc4ef040b816596cf48edf866976943220d988
Reviewed-on: http://gerrit.openafs.org/3644
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_bypasscache.c | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository