diff options
author | Gang He <ghe@suse.com> | 2016-06-24 14:50:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-06-24 17:23:52 -0700 |
commit | 7186ee06b66313dae0d34ec5241fda7c4a537cb9 (patch) | |
tree | ad9e5884ba58f0583db9a5920595a79b02fcd4bc /fs/ocfs2/Makefile | |
parent | a4f04f2c6955aff5e2c08dcb40aca247ff4d7370 (diff) | |
download | linux-stable-7186ee06b66313dae0d34ec5241fda7c4a537cb9.tar.gz linux-stable-7186ee06b66313dae0d34ec5241fda7c4a537cb9.tar.bz2 linux-stable-7186ee06b66313dae0d34ec5241fda7c4a537cb9.zip |
ocfs2: disable BUG assertions in reading blocks
According to some high-load testing, these two BUG assertions were
encountered, this led system panic. Actually, there were some
discussions about removing these two BUG() assertions, it would not
bring any side effect.
Then, I did the the following changes,
1) use the existing macro CATCH_BH_JBD_RACES to wrap BUG() in the
ocfs2_read_blocks_sync function like before.
2) disable the macro CATCH_BH_JBD_RACES in Makefile by default.
Link: http://lkml.kernel.org/r/1466574294-26863-1-git-send-email-ghe@suse.com
Signed-off-by: Gang He <ghe@suse.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <joseph.qi@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/Makefile')
-rw-r--r-- | fs/ocfs2/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ocfs2/Makefile b/fs/ocfs2/Makefile index e27e6527912b..4342c7ee7d20 100644 --- a/fs/ocfs2/Makefile +++ b/fs/ocfs2/Makefile @@ -1,7 +1,5 @@ ccflags-y := -Ifs/ocfs2 -ccflags-y += -DCATCH_BH_JBD_RACES - obj-$(CONFIG_OCFS2_FS) += \ ocfs2.o \ ocfs2_stackglue.o |