--- 2.6/fs/bio.c 2003-10-25 20:43:54.000000000 +0200 +++ build-2.6/fs/bio.c 2003-12-04 20:13:52.000000000 +0100 @@ -798,7 +798,7 @@ size = bp->nr_vecs * sizeof(struct bio_vec); - bp->slab = kmem_cache_create(bp->name, size, 0, + bp->slab = kmem_cache_create(bp->name, max(128,size), 0, SLAB_HWCACHE_ALIGN, NULL, NULL); if (!bp->slab) panic("biovec: can't init slab cache\n"); @@ -815,7 +815,7 @@ static int __init init_bio(void) { - bio_slab = kmem_cache_create("bio", sizeof(struct bio), 0, + bio_slab = kmem_cache_create("bio", max(128U,sizeof(struct bio)), 0, SLAB_HWCACHE_ALIGN, NULL, NULL); if (!bio_slab) panic("bio: can't create slab cache\n");