]> git.baikalelectronics.ru Git - kernel.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)
commit2d3312dbe24795746e7ca99f92c09c02b7834cb7
tree7ed963ab1a1ddda0f3b9dc31f1379243b44b555c
parent43ec4561c58d423692eb820153fe976501c68848
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