]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-dafs-drop-volheaders-20080925
authorSteven Jenkins <steven@endpoint.com>
Thu, 25 Sep 2008 08:50:16 +0000 (08:50 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 25 Sep 2008 08:50:16 +0000 (08:50 +0000)
commit117e018adb06835571f56646a0ec398ea81cc888
tree4b50abf5215815dc23fda58ca4a2320e91aefb57
parent5af9e7f1861bb8c3ea48b36cc89ceb4df74dc15f
DEVEL15-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.

(cherry picked from commit 1659861640035f5405429194e72665839cff3720)
src/vol/volume.c