viced: Set HWHO_INPROGRESS in CheckHost_r
authorAndrew Deason <adeason@sinenomine.net>
Fri, 4 Mar 2011 17:35:06 +0000 (11:35 -0600)
committerDerrick Brashear <shadow@dementia.org>
Wed, 16 Mar 2011 14:33:54 +0000 (07:33 -0700)
commite49949beadf2e28676f5376fafad3dffbf2137a8
treedb6715f946353eb76a5895b839a5fc913516a3e1
parent05b7dede11105eca72550fad0b395191e51e3bc1
viced: Set HWHO_INPROGRESS in CheckHost_r

When we are probing a host in CheckHost_r, set the HWHO_INPROGRESS
flag on the host, so other threads know that the host is locked while
we are waiting for a probe response, and the h_threadquota mechanism
can work correctly.

Reviewed-on: http://gerrit.openafs.org/4126
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 64d52938ee26e160a6e2cd64253df096eb5d0c1e)

Change-Id: Ib4767e06affcb8e816cf0e4cdff526a9346c8af2
Reviewed-on: http://gerrit.openafs.org/4128
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/viced/host.c