From 4fa800d73fe92996674a369c95e9a2c10f3988b2 Mon Sep 17 00:00:00 2001 From: Bob Glossman Date: Wed, 1 Aug 2012 09:47:10 -0700 Subject: [PATCH] LU-1216 LBUG: ASSERTION(lli->lli_sai == NULL) failed using robinhood tool Since statahead is still buggy, this small fix turns it off default. This is a workaround and should go away with a future proper fix. Signed-off-by: Bob Glossman Change-Id: Ia5781a976586cb7105cdeae4d772ce76ea56f0b6 Reviewed-on: http://review.whamcloud.com/3512 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/llite/llite_lib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index dbb279f..b4dac6c 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -139,8 +139,9 @@ static struct ll_sb_info *ll_init_sbi(void) pp_w_hist.oh_lock); } - /* metadata statahead is enabled by default */ - sbi->ll_sa_max = LL_SA_RPC_DEF; + /* metadata statahead is disabled by default */ + sbi->ll_sa_max = 0; + /* sbi->ll_sa_max = LL_SA_RPC_DEF; */ atomic_set(&sbi->ll_sa_total, 0); atomic_set(&sbi->ll_sa_wrong, 0); -- 1.8.3.1