diff options
author | Jens Axboe <axboe@fb.com> | 2016-12-07 18:43:31 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-12-09 19:03:02 +0300 |
commit | 70b3ea056f3074be6d9256c312b64c0d90a4a683 (patch) | |
tree | 45c1cf0e0d366fcc74fe9f33386818c86f88d0df /include/linux/elevator.h | |
parent | f04c3df3efeca0d226aeff7ef595e12a0b807ab2 (diff) | |
download | linux-70b3ea056f3074be6d9256c312b64c0d90a4a683.tar.xz |
elevator: make the rqhash helpers exported
Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Diffstat (limited to 'include/linux/elevator.h')
-rw-r--r-- | include/linux/elevator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/elevator.h b/include/linux/elevator.h index f219c9aed360..b276e9ef0e0b 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h @@ -108,6 +108,11 @@ struct elevator_type #define ELV_HASH_BITS 6 +void elv_rqhash_del(struct request_queue *q, struct request *rq); +void elv_rqhash_add(struct request_queue *q, struct request *rq); +void elv_rqhash_reposition(struct request_queue *q, struct request *rq); +struct request *elv_rqhash_find(struct request_queue *q, sector_t offset); + /* * each queue has an elevator_queue associated with it */ |