OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-22-g570236d
Gerrit Code Review
gerrit@openafs.org
Mon, 23 Aug 2010 09:32:11 -0700 (PDT)
The following commit has been merged in the master branch:
commit 570236dd55e79e8886b45f19cef59ec3fa9d53f6
Author: Andrew Deason <adeason@sinenomine.net>
Date: Tue Jun 22 14:36:42 2010 -0500
ubik: Fix buffers for reading-during-writes
If we are reading while a write transaction is in progress, we can
encounter a buffer that is dirty if we're on the same site as the
writer. Ignore these buffers for readers, since they contain
uncommitted changes. Then, when the writer commits, invalidate the
resultant duplicate buffer, if one exists.
Change-Id: I67e0205362d4c08ea9a8c12104fea8bfe8cbf798
Reviewed-on: http://gerrit.openafs.org/2231
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/ubik/disk.c | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository