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 02:47:41 +0000 (19:47 -0700)
commit3f43a10958b1f185c14af4f63ff151046c960e0a
tree60f36c084af577ac5e89b5049ed8bd03cb50e628
parent18a61a3733a04388cc42152233c6d736134987b9
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