DAFS: DFlushVolume outside of vol glock
authorAndrew Deason <adeason@sinenomine.net>
Wed, 16 Mar 2011 16:48:08 +0000 (11:48 -0500)
committerDerrick Brashear <shadow@dementia.org>
Mon, 21 Mar 2011 17:24:20 +0000 (10:24 -0700)
commita18175f479437f3a4fe68460538927630070cd13
tree126d28d99ac78769ebf7e9302403fbfbc088d091
parent8c418408016ff8d6be9f85c4666a49954f61dbd0
DAFS: DFlushVolume outside of vol glock

DFlushVolume may traverse a long list of directory objects, and can
even hit the disk, so we should drop the glock for it. This should be
safe in DAFS, since we already transition the volume to an exclusive
state before doing this, and DFlushVolume only deals with structures
internal to the directory package and maintains its own locking.

Change-Id: I6493042c8f36614b55d4dc40d97639e56b34fabd
Reviewed-on: http://gerrit.openafs.org/4242
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/vol/volume.c