Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ca14fc
)
b=bug11890
author
jxiong
<jxiong>
Thu, 24 May 2007 06:01:03 +0000
(06:01 +0000)
committer
jxiong
<jxiong>
Thu, 24 May 2007 06:01:03 +0000
(06:01 +0000)
- Fixed an error in compilation for i386.
- the 0copy patch for ext3 shouldn't apply on this branch since it doesn't have delay-allocation patch merged.
lustre/kernel_patches/patches/raid5-zerocopy.patch
patch
|
blob
|
history
diff --git
a/lustre/kernel_patches/patches/raid5-zerocopy.patch
b/lustre/kernel_patches/patches/raid5-zerocopy.patch
index
5de45a7
..
1a43431
100644
(file)
--- a/
lustre/kernel_patches/patches/raid5-zerocopy.patch
+++ b/
lustre/kernel_patches/patches/raid5-zerocopy.patch
@@
-144,7
+144,7
@@
diff -pru linux-2.6.9.orig/drivers/md/raid5.c linux-2.6.9/drivers/md/raid5.c
+ if (PageHighMem(page)) {
+ h_ptr[1] = kmap_atomic(page, KM_USER0);
+ xor_block(2, STRIPE_SIZE, h_ptr);
-+ kunmap_atomic(page,
MK
_USER0);
++ kunmap_atomic(page,
KM
_USER0);
+ } else {
+ ptr[count++] = page_address(page);
}
@@
-170,7
+170,7
@@
diff -pru linux-2.6.9.orig/drivers/md/raid5.c linux-2.6.9/drivers/md/raid5.c
+ if (PageHighMem(page)) {
+ h_ptr[1] = kmap_atomic(page, KM_USER0);
+ xor_block(2, STRIPE_SIZE, h_ptr);
-+ kunmap_atomic(page,
MK
_USER0);
++ kunmap_atomic(page,
KM
_USER0);
+ } else {
+ ptr[count++] = page_address(page);
}