Whamcloud - gitweb
JBD: Fix NULL pointer bh->b_data on NUMA box with journal checksumming.
authorgirish <girish>
Tue, 13 Nov 2007 17:36:53 +0000 (17:36 +0000)
committergirish <girish>
Tue, 13 Nov 2007 17:36:53 +0000 (17:36 +0000)
commit957290e14f9ca9d91687a0a665ac1aca93ae4d3e
tree048df080c07097053f3f1f45d4c4fbdab57b35a3
parent096fa644157b44ab37e62cc9ffac8d303a8a08f0
JBD: Fix NULL pointer bh->b_data on NUMA box with journal checksumming.

  Current journal checksumming patch failed fsstress test on NUMA. The
  bh->b_data passed to the crc32_be () function could be NULL pointer,
  which caused kernel oops immediately when running fsstress with -o
  journal_checksum. It is because the page is part of highmem on NUMA box.
  We need to kmap the page before access the bh->b_data to calculate
  the checksums.
lustre/kernel_patches/patches/jbd-journal-chksum-2.6-sles10.patch
lustre/kernel_patches/patches/jbd-journal-chksum-2.6.18-vanilla.patch