From: adilger Date: Fri, 14 Sep 2007 21:59:37 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_7_0_51~733 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=dcb312b511998c73277cb84bf94a129b266a37fd;p=fs%2Flustre-release.git Branch HEAD 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 --- diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 241bcd4..efdb244 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -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