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-719 ldiskfs: fix error message rate-limiting logic in kmmpd
[fs/lustre-release.git]
/
ldiskfs
/
kernel_patches
/
patches
/
ext4-mmp-rhel6.patch
diff --git
a/ldiskfs/kernel_patches/patches/ext4-mmp-rhel6.patch
b/ldiskfs/kernel_patches/patches/ext4-mmp-rhel6.patch
index
7ca04e2
..
17e0914
100644
(file)
--- a/
ldiskfs/kernel_patches/patches/ext4-mmp-rhel6.patch
+++ b/
ldiskfs/kernel_patches/patches/ext4-mmp-rhel6.patch
@@
-284,8
+284,9
@@
Index: linux-stage/fs/ext4/mmp.c
+ * Don't spew too many error messages. Print one every
+ * (s_mmp_update_interval * 60) seconds.
+ */
+ * Don't spew too many error messages. Print one every
+ * (s_mmp_update_interval * 60) seconds.
+ */
-+ if (retval && (failed_writes % 60) == 0) {
-+ ext4_error(sb, "Error writing to MMP block");
++ if (retval) {
++ if ((failed_writes % 60) == 0)
++ ext4_error(sb, "Error writing to MMP block");
+ failed_writes++;
+ }
+
+ failed_writes++;
+ }
+