DEVEL15-windows-dirty-buffers-20090608
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 19 Jun 2009 04:12:34 +0000 (04:12 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 19 Jun 2009 04:12:34 +0000 (04:12 +0000)
commit818c3dc66ff88c6e79d3cf3033d00761778d628d
tree23173417668ba3526dc04790404459226a061d09
parent84c772697d6b9914b84112481719d1e881c2672f
DEVEL15-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.

(cherry picked from commit 2033fa9ec62089887f074381ac118a2c60e9c311)
src/WINNT/afsd/afsd_eventlog.c
src/WINNT/afsd/afsd_eventmessages.mc
src/WINNT/afsd/cm_buf.c