From 55b465b66809368b459674b9d205010730953c2e Mon Sep 17 00:00:00 2001 From: Joseph Qi Date: Wed, 4 Jun 2014 16:06:09 -0700 Subject: [PATCH] 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 Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed