diff options
author | James Bottomley <James.Bottomley@SteelEye.com> | 2005-06-20 08:06:52 -0400 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2005-06-20 08:06:52 -0400 |
commit | f1970baf6d74e03bd32072ab453f2fc01bc1b8d3 (patch) | |
tree | 559898cdf83bd0f93b8a72248c6423a6548fb604 /include/linux/bio.h | |
parent | dd1cab95f356f1395278633565f198463cf6bd24 (diff) |
[PATCH] Add scatter-gather support for the block layer SG_IO
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r-- | include/linux/bio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 1dd2bc2e84ae..ebcd03ba2e20 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h | |||
@@ -281,6 +281,10 @@ extern int bio_add_page(struct bio *, struct page *, unsigned int,unsigned int); | |||
281 | extern int bio_get_nr_vecs(struct block_device *); | 281 | extern int bio_get_nr_vecs(struct block_device *); |
282 | extern struct bio *bio_map_user(struct request_queue *, struct block_device *, | 282 | extern struct bio *bio_map_user(struct request_queue *, struct block_device *, |
283 | unsigned long, unsigned int, int); | 283 | unsigned long, unsigned int, int); |
284 | struct sg_iovec; | ||
285 | extern struct bio *bio_map_user_iov(struct request_queue *, | ||
286 | struct block_device *, | ||
287 | struct sg_iovec *, int, int); | ||
284 | extern void bio_unmap_user(struct bio *); | 288 | extern void bio_unmap_user(struct bio *); |
285 | extern struct bio *bio_map_kern(struct request_queue *, void *, unsigned int, | 289 | extern struct bio *bio_map_kern(struct request_queue *, void *, unsigned int, |
286 | unsigned int); | 290 | unsigned int); |