dafs-drop-volheaders-20080925
authorSteven Jenkins <steven@endpoint.com>
Thu, 25 Sep 2008 08:50:01 +0000 (08:50 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 25 Sep 2008 08:50:01 +0000 (08:50 +0000)
commit1659861640035f5405429194e72665839cff3720
tree38bebace593146c0ba83c750d3a37330960df4c2
parentf52f24d6f0027be06d444c1dd7e0d35163b16ef6
dafs-drop-volheaders-20080925

LICENSE IPL10
FIXES 117470

Under certain demand salvage scenarios, it is possible for a stale header
to remain cached with the needsSalvaged flag asserted. Although this will
not affect clients accessing the volume over afsint, it is an issue for
volser clients. VAttachVolumeByName in volser will always attempt to pull
the header over FSSYNC before doing a disk read, under the assumption that
a cached entry in the fileserver will be more current than what is on
disk. This patch causes the fileserver to aggresively invalidate disk
header cache entries when a salvage is in-progress.
src/vol/volume.c