]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Manage jbd allocations from its own slabs
authorBadari Pulavarty <pbadari@us.ibm.com>
Sun, 27 Aug 2006 08:23:52 +0000 (01:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 27 Aug 2006 18:01:32 +0000 (11:01 -0700)
commitede95f317059b18642e382c151a1cd5a786d4d4f
treef511458f277c30b74e26bed69fe9d36dd2fe857c
parent5af92437b4840f4a89d3a636c0dd450b1cf8236a
[PATCH] Manage jbd allocations from its own slabs

JBD currently allocates commit and frozen buffers from slabs.  With
CONFIG_SLAB_DEBUG, its possible for an allocation to cross the page
boundary causing IO problems.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=200127

So, instead of allocating these from regular slabs - manage allocation from
its own slabs and disable slab debug for these slabs.

[akpm@osdl.org: cleanups]
Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jbd/commit.c
fs/jbd/journal.c
fs/jbd/transaction.c
include/linux/jbd.h