On Tue, Dec 01, 2009 at 08:14:11PM -0500, Theodore Ts'o wrote: > Now that the SLUB seems to be fixed so that it respects the requested > alignment, use kmem_cache_alloc() to allocator if the block size of > the buffer heads to be allocated is less than the page size. > Previously, we were using 16k page on a Power system for each buffer, > even when the file system was using 1k or 4k block size. > > Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx> Heh funny you should bring this up, we just fixed a problem in RHEL5 related to using slabs. If you have a non-jbd based root filesystem and then mount a bunch of jbd-based fs's at the same time you will race with the cache creation stuff and end up getting errors about creating the same slab cache multiple times. The way this was fixed in RHEL5 was to put a mutex around the slabcache creation and deletion so this sort of race. It seems that this patch has the same issue as the 2.6.18 jbd had. Thanks, Josef -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html