From 564d6273e2e3ab6964a3bfc6246e3cb74641b718 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 12 Nov 2009 12:45:28 -0800 Subject: [PATCH] Mutexs will exceed 64 bytes for debug builds in 2.6.31 kernels. Increase the pad size accordingly to handle this. --- module/zfs/arc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zfs/arc.c b/module/zfs/arc.c index 8b27672bdc..a3791d4ed0 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -517,7 +517,7 @@ static void arc_evict_ghost(arc_state_t *state, uint64_t spa, int64_t bytes); * Hash table routines */ -#define HT_LOCK_PAD 64 +#define HT_LOCK_PAD 256 struct ht_lock { kmutex_t ht_lock;