summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/kernel
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-12-10 15:35:05 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-12-29 08:29:23 +0100
commitbb799ca0202a360fa74d5f17039b9100caebdde7 (patch)
tree048b6cedfd2644edd82a606db6d9e8b19d31328b /arch/mn10300/kernel
parentbio: move the slab pointer inside the bio_set (diff)
downloadlinux-bb799ca0202a360fa74d5f17039b9100caebdde7.tar.xz
linux-bb799ca0202a360fa74d5f17039b9100caebdde7.zip
bio: allow individual slabs in the bio_set
Instead of having a global bio slab cache, add a reference to one in each bio_set that is created. This allows for personalized slabs in each bio_set, so that they can have bios of different sizes. This means we can personalize the bios we return. File systems may want to embed the bio inside another structure, to avoid allocation more items (and stuffing them in ->bi_private) after the get a bio. Or we may want to embed a number of bio_vecs directly at the end of a bio, to avoid doing two allocations to return a bio. This is now possible. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'arch/mn10300/kernel')
0 files changed, 0 insertions, 0 deletions