|
@@ -823,19 +823,6 @@ static inline struct request_queue *bdev_get_queue(struct block_device *bdev)
|
|
|
return bdev->bd_disk->queue;
|
|
|
}
|
|
|
|
|
|
-static inline void blk_run_backing_dev(struct backing_dev_info *bdi,
|
|
|
- struct page *page)
|
|
|
-{
|
|
|
- if (bdi && bdi->unplug_io_fn)
|
|
|
- bdi->unplug_io_fn(bdi, page);
|
|
|
-}
|
|
|
-
|
|
|
-static inline void blk_run_address_space(struct address_space *mapping)
|
|
|
-{
|
|
|
- if (mapping)
|
|
|
- blk_run_backing_dev(mapping->backing_dev_info, NULL);
|
|
|
-}
|
|
|
-
|
|
|
/*
|
|
|
* blk_rq_pos() : the current sector
|
|
|
* blk_rq_bytes() : bytes left in the entire request
|