[BLOCK] bio: check for same page merge possibilities in __bio_add_page()
authorJens Axboe <axboe@suse.de>
Fri, 6 Jan 2006 08:43:28 +0000 (09:43 +0100)
committerJens Axboe <axboe@suse.de>
Fri, 6 Jan 2006 08:43:28 +0000 (09:43 +0100)
commit80cfd548eed68cf90c5ae9cfcd6b02230cece756
treea178608e394b5ee079838353004eb318ff22c513
parent88ee5ef157202624de2b43b3512fdcb54fda1ab5
[BLOCK] bio: check for same page merge possibilities in __bio_add_page()

For filesystems with a blocksize < page size, we can merge same page
calls into the bio_vec at the end of the bio. This saves segments
on systems with a page size > the "normal" 4kb fs block size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@suse.de>
fs/bio.c