STABLE14-revert-bkg-disable-var-20060213

remove the bkg daemon disabling


(cherry picked from commit 0f9a5e3ad81a8583d486b3ee45aaebda50f6de06)
This commit is contained in:
Derrick Brashear 2006-02-13 18:31:13 +00:00
parent 1c680d4a3f
commit 2bd9dd6ea9
2 changed files with 0 additions and 8 deletions

View File

@ -35,9 +35,6 @@ short afs_brsDaemons = 0; /* number of daemons waiting for brs requests */
struct brequest afs_brs[NBRS]; /* request structures */ struct brequest afs_brs[NBRS]; /* request structures */
struct afs_osi_WaitHandle AFS_WaitHandler, AFS_CSWaitHandler; struct afs_osi_WaitHandle AFS_WaitHandler, AFS_CSWaitHandler;
static int afs_brs_count = 0; /* request counter, to service reqs in order */ static int afs_brs_count = 0; /* request counter, to service reqs in order */
#ifdef AFS_DISABLE_BKG
int disable_bkg = AFS_DISABLE_BKG;
#endif
static int rxepoch_checked = 0; static int rxepoch_checked = 0;
#define afs_CheckRXEpoch() {if (rxepoch_checked == 0 && rxkad_EpochWasSet) { \ #define afs_CheckRXEpoch() {if (rxepoch_checked == 0 && rxkad_EpochWasSet) { \
@ -566,10 +563,6 @@ int
afs_BBusy(void) afs_BBusy(void)
{ {
AFS_STATCNT(afs_BBusy); AFS_STATCNT(afs_BBusy);
#ifdef AFS_DISABLE_BKG
if (disable_bkg)
return 1;
#endif
if (afs_brsDaemons > 0) if (afs_brsDaemons > 0)
return 0; return 0;
return 1; return 1;

View File

@ -95,7 +95,6 @@
#define AFS_NONFSTRANS #define AFS_NONFSTRANS
#define AFS_SYSCALL 230 #define AFS_SYSCALL 230
#define DARWIN_REFBASE 0 #define DARWIN_REFBASE 0
#define AFS_DISABLE_BKG 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */ /* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs" #define AFS_MOUNT_AFS "afs"