mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-revert-bkg-disable-var-20060213
remove the bkg daemon disabling (cherry picked from commit 0f9a5e3ad81a8583d486b3ee45aaebda50f6de06)
This commit is contained in:
parent
1c680d4a3f
commit
2bd9dd6ea9
@ -35,9 +35,6 @@ short afs_brsDaemons = 0; /* number of daemons waiting for brs requests */
|
||||
struct brequest afs_brs[NBRS]; /* request structures */
|
||||
struct afs_osi_WaitHandle AFS_WaitHandler, AFS_CSWaitHandler;
|
||||
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;
|
||||
#define afs_CheckRXEpoch() {if (rxepoch_checked == 0 && rxkad_EpochWasSet) { \
|
||||
@ -566,10 +563,6 @@ int
|
||||
afs_BBusy(void)
|
||||
{
|
||||
AFS_STATCNT(afs_BBusy);
|
||||
#ifdef AFS_DISABLE_BKG
|
||||
if (disable_bkg)
|
||||
return 1;
|
||||
#endif
|
||||
if (afs_brsDaemons > 0)
|
||||
return 0;
|
||||
return 1;
|
||||
|
@ -95,7 +95,6 @@
|
||||
#define AFS_NONFSTRANS
|
||||
#define AFS_SYSCALL 230
|
||||
#define DARWIN_REFBASE 0
|
||||
#define AFS_DISABLE_BKG 1
|
||||
|
||||
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
|
||||
#define AFS_MOUNT_AFS "afs"
|
||||
|
Loading…
x
Reference in New Issue
Block a user