OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_5-15-gac75011

Gerrit Code Review
Wed, 28 Aug 2013 05:07:29 -0700 (PDT)

The following commit has been merged in the openafs-stable-1_6_x branch:
commit ac750113f34bcd03df3350ec9863b7b3c67efa25
Author: Mark Vitale <>
Date:   Fri Dec 21 17:56:14 2012 -0500

    dafs: preattach should wait for exclusive states
    In rare circumstances an FSYNC_VOL_ON operation may fail silently,
    leaving the volume in its previous state.  The only clue is a FileLog
    message "volume <nnnn> not in quiescent state".
    This is caused by a race condition in the volume package: an
    FSYNC_VOL_ON operation is attempting to preattach a volume
    (in VPreAttachVolumeByVp_r()) at the same time a fileserver RPC
    (e.g. FetchStatus) is detaching the volume (in VReleaseVolumeHandles_r())
    at the conclusion of attach2() logic.
    The fix calls VWaitExclusiveState_r() before calling
    Change-Id: Ib66859381d29311fda3e08984dcb740eadafb340
    Tested-by: BuildBot <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Derrick Brashear <>
    (cherry picked from commit 1f891b622e9b32a068082087eae9d787057f7f00)
    Reviewed-by: Mark Vitale <>
    Reviewed-by: Stephan Wiesand <>

 src/vol/volume.c |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

OpenAFS Master Repository