Whamcloud - gitweb
LU-1216 LBUG: ASSERTION(lli->lli_sai == NULL) failed using robinhood tool
authorBob Glossman <bogl@whamcloud.com>
Wed, 1 Aug 2012 16:47:10 +0000 (09:47 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 6 Aug 2012 22:12:05 +0000 (18:12 -0400)
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 <bogl@whamcloud.com>
Change-Id: Ia5781a976586cb7105cdeae4d772ce76ea56f0b6
Reviewed-on: http://review.whamcloud.com/3512
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/llite_lib.c

index dbb279f..b4dac6c 100644 (file)
@@ -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);