aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index c75580345700..6e59d3b92ff2 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -818,8 +818,6 @@ static inline void blk_run_address_space(struct address_space *mapping)
818 blk_run_backing_dev(mapping->backing_dev_info, NULL); 818 blk_run_backing_dev(mapping->backing_dev_info, NULL);
819} 819}
820 820
821extern void blkdev_dequeue_request(struct request *req);
822
823/* 821/*
824 * blk_rq_pos() : the current sector 822 * blk_rq_pos() : the current sector
825 * blk_rq_bytes() : bytes left in the entire request 823 * blk_rq_bytes() : bytes left in the entire request
@@ -853,6 +851,13 @@ static inline unsigned int blk_rq_cur_sectors(const struct request *rq)
853} 851}
854 852
855/* 853/*
854 * Request issue related functions.
855 */
856extern struct request *blk_peek_request(struct request_queue *q);
857extern void blk_start_request(struct request *rq);
858extern struct request *blk_fetch_request(struct request_queue *q);
859
860/*
856 * Request completion related functions. 861 * Request completion related functions.
857 * 862 *
858 * blk_update_request() completes given number of bytes and updates 863 * blk_update_request() completes given number of bytes and updates