Whamcloud - gitweb
Branch HEAD
authoradilger <adilger>
Fri, 14 Sep 2007 21:59:37 +0000 (21:59 +0000)
committeradilger <adilger>
Fri, 14 Sep 2007 21:59:37 +0000 (21:59 +0000)
Disable client page cache checksumming by default. This does not affect
the wire checksumming, and only adds a lot of CPU overhead that is mostly
useful only for debugging rare client memory corruption vs. the more
common network transfer corruption. It can be enabled at runtime via
"echo 1 > $LPROC/llite/*/checksum_pages".
b=13579
i=scjody
i=nathan

lustre/llite/llite_lib.c

index 241bcd4..efdb244 100644 (file)
@@ -87,7 +87,7 @@ static struct ll_sb_info *ll_init_sbi(void)
         list_add_tail(&sbi->ll_list, &ll_super_blocks);
         spin_unlock(&ll_sb_lock);
 
-#ifdef ENABLE_CHECKSUM
+#ifdef ENABLE_LLITE_CHECKSUM
         sbi->ll_flags |= LL_SBI_CHECKSUM;
 #endif