diff options
author | Christoph Hellwig <hch@lst.de> | 2020-12-03 17:21:35 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-04 09:42:00 -0700 |
commit | b81b8f40c5b43dcb2ff473236baccc421706435f (patch) | |
tree | 1c69585c2f847c7cb52dd9340cde219d55ec409f /include/trace | |
parent | acaf523a7bf226b28504306c1cfee194520123b3 (diff) | |
download | linux-stable-b81b8f40c5b43dcb2ff473236baccc421706435f.tar.gz linux-stable-b81b8f40c5b43dcb2ff473236baccc421706435f.tar.bz2 linux-stable-b81b8f40c5b43dcb2ff473236baccc421706435f.zip |
block: remove the unused block_sleeprq tracepoint
The block_sleeprq tracepoint was only used by the legacy request code.
Remove it now that the legacy request code is gone.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/block.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/trace/events/block.h b/include/trace/events/block.h index 34d64ca306b1..76459cf750e1 100644 --- a/include/trace/events/block.h +++ b/include/trace/events/block.h @@ -442,24 +442,6 @@ DEFINE_EVENT(block_get_rq, block_getrq, ); /** - * block_sleeprq - waiting to get a free request entry in queue for block IO operation - * @q: queue for operation - * @bio: pending block IO operation (can be %NULL) - * @rw: low bit indicates a read (%0) or a write (%1) - * - * In the case where a request struct cannot be provided for queue @q - * the process needs to wait for an request struct to become - * available. This tracepoint event is generated each time the - * process goes to sleep waiting for request struct become available. - */ -DEFINE_EVENT(block_get_rq, block_sleeprq, - - TP_PROTO(struct request_queue *q, struct bio *bio, int rw), - - TP_ARGS(q, bio, rw) -); - -/** * block_plug - keep operations requests in request queue * @q: request queue to plug * |