]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: buf_CleanAsyncLocked dirty range only
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 15 Nov 2011 23:35:26 +0000 (18:35 -0500)
committerDerrick Brashear <shadow@dementix.org>
Sun, 26 Feb 2012 06:31:55 +0000 (22:31 -0800)
commit2866c3f1b941840c54f5d5f05bd85cba9b997f94
tree23f132b96015e7cd8dfff0ac644b26489ed9f89b
parent072397a05ed2115334f57c55460ad0cc68029700
Windows: buf_CleanAsyncLocked dirty range only

buf_CleanAsyncLocked() should not instruct cm_BufWrite() to
write a full chunk if the current buffer is the only one that
is dirty.  cm_BufWrite() will determine if it is appropriate
to fill a full chunk when storing.  Instructing it to check
a full chunk forces it to do more work than necessary.

Reviewed-on: http://gerrit.openafs.org/6054
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
(cherry picked from commit fd42e08bf1882a02c3200e1c33a101e644aa046a)

Change-Id: Ibbd823feb5fe18f0ab0ee54af8c9b8ccb531c8bc
Reviewed-on: http://gerrit.openafs.org/6808
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/WINNT/afsd/cm_buf.c