DAFS: Allow FSSYNC salvages on unknown volumes
authorAndrew Deason <adeason@sinenomine.net>
Tue, 29 Jun 2010 19:44:31 +0000 (14:44 -0500)
committerDerrick Brashear <shadow@dementia.org>
Fri, 2 Jul 2010 17:33:50 +0000 (10:33 -0700)
commit6b041b7cb0d29815495b2559f24f4ff4979eb129
tree0501ce65dfd957a837e2676282dbbe20337a8687
parentff072a08b5c5204a27d3807ad592db84e87c697d
DAFS: Allow FSSYNC salvages on unknown volumes

Allow salvage requests over FSSYNC (FORCE_ERROR with the FSYNC_SALVAGE
reason code) that are requested on volumes that we do not know to
exist. This can be helpful if a salvage is requested on a volume that
someone attempted to create but failed, indicating that a
partially-created volume may be in the way.

Log an additional message when we do this, as it should not be a
normal occurrence.

Change-Id: I6e1bbe35111a41c489fe85cad36e6a8a6f323a5a
Reviewed-on: http://gerrit.openafs.org/2285
Reviewed-by: Tom Keiser <tkeiser@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/fssync-server.c