windows-dirty-buffers-20090608
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 9 Jun 2009 00:58:10 +0000 (00:58 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 9 Jun 2009 00:58:10 +0000 (00:58 +0000)
commit2033fa9ec62089887f074381ac118a2c60e9c311
tree2d01709c5794c49d45815c6236d30fd345bf3a64
parent394243f3ae2dc5437b66d8f5afb393c2cfd1fb7b
windows-dirty-buffers-20090608

LICENSE MIT

In the buf_IncrSync thread, if the volume is known to be unavailable
do not attempt to write the buffer.  Just skip it.

In buf_Sync(), if we are shutting down and a buffer is left dirty,
log a message to the Windows Event Log indicating that the dirty buffer
was lost.
src/WINNT/afsd/afsd_eventlog.c
src/WINNT/afsd/afsd_eventmessages.mc
src/WINNT/afsd/cm_buf.c