Commit e3853a90e218bcb2e48d3f403d0962bf54444f5f
1 parent
8304d6f24c
Exists in
master
and in
39 other branches
dlm: increase default hash table sizes
Make all three hash tables a consistent size of 1024 rather than 1024, 512, 256. All three tables, for resources, locks, and lock dir entries, will generally be filled to the same order of magnitude. Signed-off-by: David Teigland <teigland@redhat.com>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
fs/dlm/config.c
... | ... | @@ -977,9 +977,9 @@ |
977 | 977 | /* Config file defaults */ |
978 | 978 | #define DEFAULT_TCP_PORT 21064 |
979 | 979 | #define DEFAULT_BUFFER_SIZE 4096 |
980 | -#define DEFAULT_RSBTBL_SIZE 256 | |
980 | +#define DEFAULT_RSBTBL_SIZE 1024 | |
981 | 981 | #define DEFAULT_LKBTBL_SIZE 1024 |
982 | -#define DEFAULT_DIRTBL_SIZE 512 | |
982 | +#define DEFAULT_DIRTBL_SIZE 1024 | |
983 | 983 | #define DEFAULT_RECOVER_TIMER 5 |
984 | 984 | #define DEFAULT_TOSS_SECS 10 |
985 | 985 | #define DEFAULT_SCAN_SECS 5 |