block: kill legacy parts of timeout handling
authorJens Axboe <axboe@kernel.dk>
Mon, 29 Oct 2018 16:25:07 +0000 (10:25 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Nov 2018 20:42:33 +0000 (13:42 -0700)
commit4316b79e4321d4140164e42f228778e5bc66c84f
treecb499b7b547f1c1d17c0b72fbd77841314c8ff1f
parent92bc5a24844ada9b010f03c49a493e3edeadaa54
block: kill legacy parts of timeout handling

The only user of legacy timing now is BSG, which is invoked
from the mq timeout handler. Kill the legacy code, and rename
the q->rq_timed_out_fn to q->bsg_job_timeout_fn.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-settings.c
block/blk-timeout.c
block/blk.h
block/bsg-lib.c
include/linux/blkdev.h