mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
r21723: Make use of the per-hashchain "freelists"
(This used to be commit f3421ae4cf
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
59285f16d6
commit
94a1b230f3
@ -133,6 +133,9 @@ BOOL message_init(void)
|
||||
return False;
|
||||
}
|
||||
|
||||
/* Activate the per-hashchain freelist */
|
||||
tdb_set_max_dead(tdb, 5);
|
||||
|
||||
CatchSignal(SIGUSR1, SIGNAL_CAST sig_usr1);
|
||||
|
||||
message_register(MSG_PING, ping_message, NULL);
|
||||
|
@ -273,6 +273,9 @@ void brl_init(int read_only)
|
||||
lock_path("brlock.tdb")));
|
||||
return;
|
||||
}
|
||||
|
||||
/* Activate the per-hashchain freelist */
|
||||
tdb_set_max_dead(tdb, 5);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -363,6 +363,9 @@ BOOL locking_init(int read_only)
|
||||
return False;
|
||||
}
|
||||
|
||||
/* Activate the per-hashchain freelist */
|
||||
tdb_set_max_dead(tdb, 5);
|
||||
|
||||
if (!posix_locking_init(read_only))
|
||||
return False;
|
||||
|
||||
|
Reference in New Issue
Block a user