viced: avoid aborting on host table exhaustion
authorDerrick Brashear <shadow@dementia.org>
Thu, 11 Aug 2011 15:11:01 +0000 (11:11 -0400)
committerDerrick Brashear <shadow@dementia.org>
Fri, 12 Aug 2011 03:18:24 +0000 (20:18 -0700)
commita3b4cd3c7325c7878ec7b47008f0eec8bfcb1175
tree75d3a50db42c2c77530cc0051894e6853dad7d37
parent8a25d1a1de4a27c87c193ea9588424d56ceed413
viced: avoid aborting on host table exhaustion

if we exhaust the host table, instead of aborting, return VBUSY at
the client, to defer until hopefully hosts are freed.

Change-Id: Ie8b026992bdde1b46117e6f592f9cf0ea4c85a7e
Reviewed-on: http://gerrit.openafs.org/5181
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/viced/afsfileprocs.c
src/viced/host.c
src/viced/host.h