]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Do not respond to SYNC_COM_CHANNEL_CLOSE requests
authorAndrew Deason <adeason@sinenomine.net>
Wed, 9 Sep 2009 14:22:02 +0000 (09:22 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Fri, 11 Sep 2009 16:49:30 +0000 (09:49 -0700)
commit46f7bbb19dbb697e626a20363ff23ad2fe0ee4c0
treefd72b5f46147563bf024923ab545b66df1074224
parentc1c8da78b680964b0259266207b2c07df54b5ef1
Do not respond to SYNC_COM_CHANNEL_CLOSE requests

SYNC clients, when closing a channel, send a SYNC_COM_CHANNEL_CLOSE
command, and immediately disconnect before waiting for a response. So,
don't send a SYNC response, since by the time we send it, the other end
will most likely have already hung up, causing a lot of needless
'SYNC_putRes: write failed' messages whenever a SYNC channel is closed
(e.g. when a demand-salvage finishes).

Reviewed-on: http://gerrit.openafs.org/434
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/fssync-server.c
src/vol/salvsync-server.c