X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=ldiskfs%2Fkernel_patches%2Fpatches%2Fext4-mmp-rhel6.patch;h=17e0914f5874a00de0fe3efe1cfb04c8eec28f98;hp=7ca04e2baf8bce310f03e759bae2c5e8155ad594;hb=6a37de8aca60315a22be7a60e63095646332b9a1;hpb=df764443d452c1db1db5e72f72c9ad6e0819f567 diff --git a/ldiskfs/kernel_patches/patches/ext4-mmp-rhel6.patch b/ldiskfs/kernel_patches/patches/ext4-mmp-rhel6.patch index 7ca04e2..17e0914 100644 --- 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. + */ -+ 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++; + } +