]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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@dementix.org>
Wed, 2 Nov 2011 02:44:19 +0000 (19:44 -0700)
commit650223868cae563749fc7bfe4edb8746790fc435
tree1cd57eb171360186ce0e57114b0cd513b7ab54ae
parentc096127f73348a470e0e478b31c3fe132304b009
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.

Reviewed-on: http://gerrit.openafs.org/4242
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit a18175f479437f3a4fe68460538927630070cd13)

Change-Id: I355c53c6f224c5471da70827f30511986abeac27
Reviewed-on: http://gerrit.openafs.org/5767
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/vol/volume.c