summaryrefslogtreecommitdiffstats
path: root/Documentation/block
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2019-07-11 00:56:08 +0900
committerJens Axboe <axboe@kernel.dk>2019-07-10 14:18:01 -0600
commit36847a005489cfb74dc6388952da73346f867dca (patch)
tree28e78632fbf0820f23f869f6b62805ef7002f4b1 /Documentation/block
parent3a10f999ffd464d01c5a05592a15470a3c4bbc36 (diff)
downloadlinux-36847a005489cfb74dc6388952da73346f867dca.tar.gz
linux-36847a005489cfb74dc6388952da73346f867dca.tar.bz2
linux-36847a005489cfb74dc6388952da73346f867dca.zip
block: Remove unused definitions
The ELV_MQUEUE_XXX definitions in include/linux/elevator.h are unused since the removal of elevator_may_queue_fn in kernel 5.0. Remove these definitions and also remove the documentation of elevator_may_queue_fn in Documentiation/block/biodoc.txt. Acked-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/block')
-rw-r--r--Documentation/block/biodoc.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/Documentation/block/biodoc.txt b/Documentation/block/biodoc.txt
index 31c177663ed5..5a4a799fe61b 100644
--- a/Documentation/block/biodoc.txt
+++ b/Documentation/block/biodoc.txt
@@ -843,11 +843,6 @@ elevator_latter_req_fn These return the request before or after the
elevator_completed_req_fn called when a request is completed.
-elevator_may_queue_fn returns true if the scheduler wants to allow the
- current context to queue a new request even if
- it is over the queue limit. This must be used
- very carefully!!
-
elevator_set_req_fn
elevator_put_req_fn Must be used to allocate and free any elevator
specific storage for a request.