]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ocfs2: Allow for debugging of transaction extends
authorMark Fasheh <mark.fasheh@oracle.com>
Tue, 4 Dec 2007 00:42:19 +0000 (16:42 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 17 Dec 2007 18:51:14 +0000 (10:51 -0800)
commit0879c584ffcccd50a8d0f72cab3a51702613f901
tree7ed963ab1a1ddda0f3b9dc31f1379243b44b555c
parent92295d8054289eff0d52b4d12349f9b9df0f58e4
ocfs2: Allow for debugging of transaction extends

The nastiest cases of transaction extends are also the rarest. We can expose
them more quickly at the expense of performance by going straight to the
journal_restart() in ocfs2_extend_trans(). Wrap things in OCFS2_DEBUG_FS so
that we only do this when "expensive debugging" is turned on.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/journal.c