diff options
author | Joseph Qi <joseph.qi@huawei.com> | 2014-06-04 16:06:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 16:53:54 -0700 |
commit | 55b465b66809368b459674b9d205010730953c2e (patch) | |
tree | 0131f2364c0bde608a54317a323dea5769479d42 /fs/ocfs2/dlm | |
parent | b3821c3f866a1c02d1537ab67abe9a824d1353ae (diff) | |
download | op-kernel-dev-55b465b66809368b459674b9d205010730953c2e.zip op-kernel-dev-55b465b66809368b459674b9d205010730953c2e.tar.gz |
ocfs2: limit printk when journal is aborted
Once JBD2_ABORT is set, ocfs2_commit_cache will fail in
ocfs2_commit_thread. Then it will get into a loop with mass logs. This
will meaninglessly consume a larger number of resource and may lead to
the system hanging. So limit printk in this case.
[akpm@linux-foundation.org: document the msleep]
Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/dlm')
0 files changed, 0 insertions, 0 deletions