OSDN Git Service

bsg: pass in desired timeout handler
authorJens Axboe <axboe@kernel.dk>
Fri, 26 Oct 2018 17:26:25 +0000 (11:26 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Nov 2018 20:42:32 +0000 (13:42 -0700)
commitaae3b069d5ce865ca5ef2902c2a22cef7ab4f3a2
treedd7f00edf9c6503b020b30d6307afec79641af0d
parent583d6535cb9dadfd2678acfad27231076eeccf8e
bsg: pass in desired timeout handler

This will ease in the conversion to blk-mq, where we can't set
a timeout handler after queue init.

Cc: Johannes Thumshirn <jthumshirn@suse.de>
Cc: linux-scsi@vger.kernel.org
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Benjamin Block <bblock@linux.vnet.ibm.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/bsg-lib.c
drivers/scsi/scsi_transport_fc.c
drivers/scsi/scsi_transport_iscsi.c
drivers/scsi/scsi_transport_sas.c
drivers/scsi/ufs/ufs_bsg.c
include/linux/bsg-lib.h