]> git.michaelhowe.org Git - packages/o/openafs.git/commit
salvager: Implement AskDAFS via SYNC flags
authorAndrew Deason <adeason@sinenomine.net>
Thu, 3 Nov 2011 18:17:33 +0000 (13:17 -0500)
committerDerrick Brashear <shadow@dementix.org>
Sun, 20 Nov 2011 23:37:35 +0000 (15:37 -0800)
commita81666efdb1b7727bcd24b21a3e9d5926e6be839
treef1dc8006e0dc6a259c73ebe4b5cd68d4fafcafc5
parentd173bead9866b07d4f8b25f57abdae7fd09bc99f
salvager: Implement AskDAFS via SYNC flags

Instead of probing the DAFS-ness of the fileserver by probing which
FSSYNC opcodes it supports, detect DAFS-ness by looking at the SYNC
response header flags, which explicitly state whether or not the
endpoint is DAFS. This avoids unnecessary "protocol mismatch" log
messages when the endpoint is not DAFS.

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

Change-Id: I0643b0e61795f39b63783c937e88c4a74c3c8312
Reviewed-on: http://gerrit.openafs.org/6083
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/vol/vol-salvage.c