Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-354 test: Change dev_set_rdonly() check to warning
[fs/lustre-release.git]
/
lustre
/
kernel_patches
/
patches
/
dev_read_only-2.6.32-rhel6.patch
diff --git
a/lustre/kernel_patches/patches/dev_read_only-2.6.32-rhel6.patch
b/lustre/kernel_patches/patches/dev_read_only-2.6.32-rhel6.patch
index
38aecf3
..
54b51cb
100644
(file)
--- a/
lustre/kernel_patches/patches/dev_read_only-2.6.32-rhel6.patch
+++ b/
lustre/kernel_patches/patches/dev_read_only-2.6.32-rhel6.patch
@@
-1,3
+1,8
@@
+This patch is no longer needed for Lustre. It is only included
+for testing and ease of using the same kernel with older Lustre
+versions. This testing functionality was replaced in Linux 3.0
+by the dm-flakey driver.
+
This functionality is mainly used during testing, in order to
simulate a server crash for ldiskfs by discarding all of the
writes to the filesystem. For recovery testing we could simulate
This functionality is mainly used during testing, in order to
simulate a server crash for ldiskfs by discarding all of the
writes to the filesystem. For recovery testing we could simulate
@@
-14,9
+19,6
@@
a DMU-based target is not safe as it could trigger a storage
failure if the data is ever read from disk again and the
checksum does not match that expected by the block pointer.
failure if the data is ever read from disk again and the
checksum does not match that expected by the block pointer.
-Initial efforts to remove this patch are under way in bug 20776.
-Once this work comes to fruition this patch can be dropped.
-
Index: linux-2.6.32-131.0.15.el6.x86_64/block/blk-core.c
===================================================================
--- linux-2.6.32-131.0.15.el6.x86_64.orig/block/blk-core.c 2011-05-10 21:38:33.000000000 +0300
Index: linux-2.6.32-131.0.15.el6.x86_64/block/blk-core.c
===================================================================
--- linux-2.6.32-131.0.15.el6.x86_64.orig/block/blk-core.c 2011-05-10 21:38:33.000000000 +0300