Whamcloud - gitweb
JBD: Fix NULL pointer bh->b_data on NUMA box with journal checksumming.
authorgirish <girish>
Tue, 13 Nov 2007 17:22:07 +0000 (17:22 +0000)
committergirish <girish>
Tue, 13 Nov 2007 17:22:07 +0000 (17:22 +0000)
commitb1db125ec165ebc3b62a4886fcc99119f1a0b6cd
tree26de2bc59468929dd7e8d73ee3a63d6295f65a57
parentdf6b10a5fd43479dd7266d1136f7c60a860d3837
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