Skip to content

Commit 0467ae9

Browse files
Sunil MushranJoel Becker
authored andcommitted
ocfs2/dlm: Increase o2dlm lockres hash size
Lockres hash size of 16KB is far too small for large filesystems (where we have hundreds of thousands of lock resources stored in the table). This patch increases it to 128KB. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
1 parent c901fb0 commit 0467ae9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/ocfs2/dlm/dlmcommon.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#define DLM_THREAD_SHUFFLE_INTERVAL 5 // flush everything every 5 passes
3838
#define DLM_THREAD_MS 200 // flush at least every 200 ms
3939

40-
#define DLM_HASH_SIZE_DEFAULT (1 << 14)
40+
#define DLM_HASH_SIZE_DEFAULT (1 << 17)
4141
#if DLM_HASH_SIZE_DEFAULT < PAGE_SIZE
4242
# define DLM_HASH_PAGES 1
4343
#else

0 commit comments

Comments
 (0)