]> git.michaelhowe.org Git - packages/o/openafs.git/commit
vol: Add VGetVolumeTimed
authorAndrew Deason <adeason@sinenomine.net>
Wed, 27 Oct 2010 22:34:40 +0000 (17:34 -0500)
committerDerrick Brashear <shadow@dementix.org>
Wed, 14 Dec 2011 20:53:47 +0000 (12:53 -0800)
commitc57b5a419292d16e662f5ab6c5422b8475e8d139
treed605879674bc4c7c4eb460cae4d5577fb7bf9fe1
parent59797ad4fedbf5499141bc01a3f1829730bffea2
vol: Add VGetVolumeTimed

Replace the VGetVolumeNoWait interface with the more general
VGetVolumeTimed interface, which allows for waiting for offlining
volume for arbitrary amounts of time (instead of just "waiting
forever" or "not waiting at all"). Also add VOL_CV_TIMEDWAIT and
VTimedWaitStateChange_r as necessary to implement this.

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

Change-Id: I6c7b3a0b9fe174ebffeb03153dda1c4705d7dac5
Reviewed-on: http://gerrit.openafs.org/6264
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/viced/afsfileprocs.c
src/vol/volume.c
src/vol/volume.h
src/vol/volume_inline.h