OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_1-225-g89fd45e
Gerrit Code Review
gerrit@openafs.org
Fri, 2 Dec 2011 16:07:32 -0800 (PST)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 89fd45e672eeed0bfe7aae36d21cdf15719595cd
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Fri Dec 2 11:21:46 2011 -0500
Windows: buf_GetNewLocked should use cleaned cm_buf
buf_GetNewLocked() searches the free buffer list for a buffer
that has a 0 refcnt, is not in the chunk that is being populated,
is not actively having I/O performed on it and is not dirty.
If it comes across a dirty buffer, it calls buf_Clean() with
the assumption that buf_CleanAsync() (as it was previously called)
was in fact asynchronous and would return immediately. Instead
buf_Clean() is synchronous and when it completes the buffer will
in most cases be clean. buf_GetNewLocked() should use the newly
cleaned buffer if it is still available and not continue the
search from the next entry in the free buffer list.
Reviewed-on: http://gerrit.openafs.org/6174
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
(cherry picked from commit 500ffccfd66123c74a0d32c04801e5906f58e58a)
Change-Id: Ie1f5fad42a24cec15a9510411cb212312be34624
Reviewed-on: http://gerrit.openafs.org/6187
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsd/cm_buf.c | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository