]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
libafs: Do not specify an Rx busy channel error
authorAndrew Deason <adeason@sinenomine.net>
Tue, 12 Apr 2011 21:30:55 +0000 (16:30 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 13 Apr 2011 17:03:50 +0000 (10:03 -0700)
Do not specify an error for Rx busy channels in libafs, so we do not
get notified of busy channel notifications. The current code just
specifies RX_CALL_TIMEOUT for the busy channel error, which has
problems (in particular, for RXAFS calls that are not wrapped in an
afs_Analyze loop). So, disable this behavior.

This is a 1.6-specific change. The master branch will instead get
fixes for this functionality, and it will get turned on in 1.6 again
as appropriate.

Change-Id: I0ed292a61ba4c8d0e59017b3dfaadc88d17591e6
Reviewed-on: http://gerrit.openafs.org/4460
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_call.c
src/afs/afs_pag_call.c

index f2778feb4ae34076205d0a18bd79264e1d743942..ddacaf7f6acb5985a7686574e6babdb55153bcde 100644 (file)
@@ -107,8 +107,6 @@ afs_InitSetup(int preallocs)
 
     memset(afs_zeros, 0, AFS_ZEROS);
 
-    rx_SetBusyChannelError(RX_CALL_TIMEOUT);
-
     /* start RX */
     if(!afscall_set_rxpck_received)
     rx_extraPackets = AFS_NRXPACKETS;  /* smaller # of packets */
index d61a91c7ef93116421caa7c23da60f6168cffaab..a0bf0964216d4e72973a3f5e46283a1f5dadd495 100644 (file)
@@ -98,7 +98,6 @@ afspag_Init(afs_int32 nfs_server_addr)
     AFS_GLOCK();
 
     afs_InitStats();
-    rx_SetBusyChannelError(RX_CALL_TIMEOUT);
     rx_Init(htons(7001));
 
     AFS_STATCNT(afs_ResourceInit);