From: Jens Axboe Date: Tue, 23 Dec 2008 11:42:54 +0000 (+0100) Subject: bio: add support for inlining a number of bio_vecs inside the bio X-Git-Tag: v2.6.29-rc1~569^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=392ddc32982a5c661dd90dd49a3cb37f1c68b782;p=pandora-kernel.git bio: add support for inlining a number of bio_vecs inside the bio When we go and allocate a bio for IO, we actually do two allocations. One for the bio itself, and one for the bi_io_vec that holds the actual pages we are interested in. This feature inlines a definable amount of io vecs inside the bio itself, so we eliminate the bio_vec array allocation for IO's up to a certain size. It defaults to 4 vecs, which is typically 16k of IO. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed