diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2005-11-11 06:30:24 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-12-14 22:00:50 -0500 |
commit | 6e39b69e7ea9205c5f80aeac3ef999ab8fb1a4cc (patch) | |
tree | abf6bf248970a249cc15e0c3df75ae42833be084 /include/linux/blkdev.h | |
parent | 9e1fe9314cb5649b2dc73690f2cd8d0068e633d9 (diff) |
[SCSI] export blk layer functions needed for blk_execute_rq_nowait
To send async requests we need these two functions exported.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index a33a31e71bbc..9a68716dcf75 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -558,6 +558,7 @@ extern void blk_unregister_queue(struct gendisk *disk); | |||
558 | extern void register_disk(struct gendisk *dev); | 558 | extern void register_disk(struct gendisk *dev); |
559 | extern void generic_make_request(struct bio *bio); | 559 | extern void generic_make_request(struct bio *bio); |
560 | extern void blk_put_request(struct request *); | 560 | extern void blk_put_request(struct request *); |
561 | extern void __blk_put_request(request_queue_t *, struct request *); | ||
561 | extern void blk_end_sync_rq(struct request *rq); | 562 | extern void blk_end_sync_rq(struct request *rq); |
562 | extern void blk_attempt_remerge(request_queue_t *, struct request *); | 563 | extern void blk_attempt_remerge(request_queue_t *, struct request *); |
563 | extern struct request *blk_get_request(request_queue_t *, int, gfp_t); | 564 | extern struct request *blk_get_request(request_queue_t *, int, gfp_t); |
@@ -579,6 +580,10 @@ extern int blk_rq_map_kern(request_queue_t *, struct request *, void *, unsigned | |||
579 | extern int blk_rq_map_user_iov(request_queue_t *, struct request *, struct sg_iovec *, int); | 580 | extern int blk_rq_map_user_iov(request_queue_t *, struct request *, struct sg_iovec *, int); |
580 | extern int blk_execute_rq(request_queue_t *, struct gendisk *, | 581 | extern int blk_execute_rq(request_queue_t *, struct gendisk *, |
581 | struct request *, int); | 582 | struct request *, int); |
583 | extern void blk_execute_rq_nowait(request_queue_t *, struct gendisk *, | ||
584 | struct request *, int, | ||
585 | void (*done)(struct request *)); | ||
586 | |||
582 | static inline request_queue_t *bdev_get_queue(struct block_device *bdev) | 587 | static inline request_queue_t *bdev_get_queue(struct block_device *bdev) |
583 | { | 588 | { |
584 | return bdev->bd_disk->queue; | 589 | return bdev->bd_disk->queue; |