The following commit has been merged in the master branch:
commit 1844719127f9e1202f6e1823a64f12286d9a2e1c
Author: Jeffrey Altman <[email protected]>
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 <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
Tested-by: Asanka Herath <[email protected]>
Reviewed-by: Asanka Herath <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
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
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs