OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_75-166-g3daf18a
Gerrit Code Review
gerrit@openafs.org
Wed, 11 Aug 2010 21:27:19 -0700 (PDT)
The following commit has been merged in the master branch:
commit 3daf18a3cbadd1db07839708cf45426003a2bca5
Author: Andrew Deason <adeason@sinenomine.net>
Date: Tue Aug 10 14:16:39 2010 -0500
viced: VNOVOL on deleted volumes
When the volserver deletes a volume, the fileserver should respond to
future access to that volume with VNOVOL and not VOFFLINE, since the
volume doesn't exist anymore. Do this in DAFS via a new state,
VOL_STATE_DELETED, and in non-DAFS by just setting specialStatus to
VNOVOL.
In the future we should also make sure the vp's for deleted volumes
get freed after a couple of hours, but not yet.
Change-Id: I6dec3e0a5e9e54f6ad09fad9f2355b513cce3bf6
Reviewed-on: http://gerrit.openafs.org/2533
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/fssync-debug.c | 1 +
src/vol/fssync-server.c | 21 ++++++++++++++++-----
src/vol/volume.c | 22 ++++++++++++++++------
src/vol/volume.h | 5 +++--
src/vol/volume_inline.h | 1 +
5 files changed, 37 insertions(+), 13 deletions(-)
--
OpenAFS Master Repository