jbd2: allocate transaction from separate slab cache
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Mon, 20 Feb 2012 22:53:02 +0000 (17:53 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 20 Feb 2012 22:53:02 +0000 (17:53 -0500)
commit0c2022eccb01630c037f2024531e9ff1afbe1564
tree704d54db298e64a84fd60330fd7985d27117d98c
parent18aadd47f88464928b5ce57791c2e8f9f2aaece0
jbd2: allocate transaction from separate slab cache

There is normally only a handful of these active at any one time, but
putting them in a separate slab cache makes debugging memory
corruption problems easier.  Manish Katiyar also wanted this make it
easier to test memory failure scenarios in the jbd2 layer.

Cc: Manish Katiyar <mkatiyar@gmail.com>
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/checkpoint.c
fs/jbd2/commit.c
fs/jbd2/journal.c
fs/jbd2/transaction.c
include/linux/jbd2.h