OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-43-g1844719
Gerrit Code Review
gerrit@openafs.org
Sun, 2 May 2010 10:38:51 -0700 (PDT)
The following commit has been merged in the master branch:
commit 1844719127f9e1202f6e1823a64f12286d9a2e1c
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Wed Apr 28 12:21:00 2010 -0400
Windows: add 'locked' flag to cm_FSync and call when dropping write locks
cm_FSync should be called when releasing file server write locks.
This ensures that all dirty buffers are stored before the lock
can be acquired by another client.
Since cm_Unlock holds the cm_scache_t->rw exclusively when calling
cm_FSync, add a 'locked' parameter to cm_FSync to avoid an unnecessary
release and reacquire of the rwlock.
LICENSE MIT
Change-Id: I70bbeffc24ec4238461281bab4006b3a57b275e2
Reviewed-on: http://gerrit.openafs.org/1876
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Asanka Herath <asanka@secure-endpoints.com>
Reviewed-by: Asanka Herath <asanka@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_vnodeops.c | 30 +++++++++++++++++++++++++++---
src/WINNT/afsd/cm_vnodeops.h | 2 +-
src/WINNT/afsd/smb.c | 4 ++--
3 files changed, 30 insertions(+), 6 deletions(-)
--
OpenAFS Master Repository