OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_75-126-g78f99d4
Gerrit Code Review
gerrit@openafs.org
Mon, 2 Aug 2010 09:27:07 -0700 (PDT)
The following commit has been merged in the master branch:
commit 78f99d4a025d3b369d3ad4939098ea868feb6cfc
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Sat Jul 31 00:05:24 2010 -0400
Windows: Update root.afs scache dv when Freelance dir bufs are regenerated
When the contents of the Freelance root directory changes the fake
directory buffers are updated and a fakeDirVersion is incremented.
The dataVersion of the cm_scache_t object is supposed to be updated
on the next access by performing a fake get callback request.
Unfortunately, this did not always occur because of a race. If another
Freelance object is updated first, the root directory object would
never successfully get a fake callback.
This patchset ensures that the generation of the fake directory
buffer content and the callback are obtained under the same set
of locks thereby removing the race.
LICENSE MIT
Change-Id: Ic8c77fc3c652cd056f84db55ca6db32499bcb0c9
Reviewed-on: http://gerrit.openafs.org/2490
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_freelance.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository