jbd2: Remove a large array of bh's from the stack of the checkpoint routine
authorTheodore Ts'o <tytso@mit.edu>
Wed, 5 Nov 2008 05:09:22 +0000 (00:09 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 5 Nov 2008 05:09:22 +0000 (00:09 -0500)
commit1a0d3786dd57dbd74f340322054c3d618b999dcf
treeb10b3ed6cb60ee34a4e8140e60da2ecc34b52f32
parent498e5f24158da7bf8fa48074a70e370e22844492
jbd2: Remove a large array of bh's from the stack of the checkpoint routine

jbd2_log_do_checkpoint()n is one of the kernel's largest stack users.
Move the array of buffer head's from the stack of jbd2_log_do_checkpoint()
to the in-core journal structure.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/checkpoint.c
fs/jbd2/journal.c
include/linux/jbd2.h