]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: cm_SetupStoreBIOD use firstModOffset chunk
authorJeffrey Altman <jaltman@your-file-system.com>
Wed, 16 Nov 2011 00:00:05 +0000 (19:00 -0500)
committerDerrick Brashear <shadow@dementix.org>
Sun, 26 Feb 2012 06:31:39 +0000 (22:31 -0800)
commit072397a05ed2115334f57c55460ad0cc68029700
tree49d5f321774370c28f70ec180a1de86c9d96f8a4
parent2c9be3970bbb8ce83904c9db29045ff01942eae2
Windows: cm_SetupStoreBIOD use firstModOffset chunk

When cm_SetupStoreBIOD attempts to store a chunk to the file
server it should not use *inOffsetp as the start of the range.
There is no guarantee that the buffer at *inOffsetp is dirty.
Instead use firstModOffset which refers to the first known
dirty buffer in the range specified by the caller.  Attempt
to fill a chunk of consecutive dirty buffers from that point.

Reviewed-on: http://gerrit.openafs.org/6057
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
(cherry picked from commit 320c7292e6ae014e44e89b0da736bcc04ef42b2b)

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