]>
Commit | Line | Data |
---|---|---|
ed2a6bee DM |
1 | From e3853a90e218bcb2e48d3f403d0962bf54444f5f Mon Sep 17 00:00:00 2001 |
2 | From: David Teigland <teigland@redhat.com> | |
3 | Date: Thu, 10 Mar 2011 13:07:17 -0600 | |
4 | Subject: [PATCH 1/1] dlm: increase default hash table sizes | |
5 | ||
6 | Make all three hash tables a consistent size of 1024 | |
7 | rather than 1024, 512, 256. All three tables, for | |
8 | resources, locks, and lock dir entries, will generally | |
9 | be filled to the same order of magnitude. | |
10 | ||
11 | Signed-off-by: David Teigland <teigland@redhat.com> | |
12 | --- | |
13 | fs/dlm/config.c | 4 ++-- | |
14 | 1 files changed, 2 insertions(+), 2 deletions(-) | |
15 | ||
16 | diff --git a/fs/dlm/config.c b/fs/dlm/config.c | |
17 | index b54bca0..0d329ff 100644 | |
18 | --- a/fs/dlm/config.c | |
19 | +++ b/fs/dlm/config.c | |
20 | @@ -977,9 +977,9 @@ int dlm_our_addr(struct sockaddr_storage *addr, int num) | |
21 | /* Config file defaults */ | |
22 | #define DEFAULT_TCP_PORT 21064 | |
23 | #define DEFAULT_BUFFER_SIZE 4096 | |
24 | -#define DEFAULT_RSBTBL_SIZE 256 | |
25 | +#define DEFAULT_RSBTBL_SIZE 1024 | |
26 | #define DEFAULT_LKBTBL_SIZE 1024 | |
27 | -#define DEFAULT_DIRTBL_SIZE 512 | |
28 | +#define DEFAULT_DIRTBL_SIZE 1024 | |
29 | #define DEFAULT_RECOVER_TIMER 5 | |
30 | #define DEFAULT_TOSS_SECS 10 | |
31 | #define DEFAULT_SCAN_SECS 5 | |
32 | -- | |
33 | 1.7.2.5 | |
34 |