DEVEL15-windows-asyncstore-again-20080301

LICENSE MIT

must write the entire asyncstoresize otherwise dirty buffers are left
for writing by buf_IncrSync thread.


(cherry picked from commit af2318cfde026f5dc6b479089689dba63f7b8abc)
This commit is contained in:
Jeffrey Altman 2008-03-01 19:00:19 +00:00
parent 41e6d32086
commit 274878f55f

View File

@ -6730,7 +6730,7 @@ long smb_WriteData(smb_fid_t *fidp, osi_hyper_t *offsetp, afs_uint32 count, char
lock_ReleaseMutex(&scp->mx);
cm_QueueBKGRequest(scp, cm_BkgStore, writeBackOffset.LowPart,
writeBackOffset.HighPart,
*writtenp & ~(smb_AsyncStoreSize-1), 0, userp);
smb_AsyncStoreSize, 0, userp);
/* cm_SyncOpDone is called at the completion of cm_BkgStore */
}
} else {