]> asedeno.scripts.mit.edu Git - linux.git/commit
bsg-lib: introduce a timeout field in struct bsg_job
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Mar 2018 16:28:39 +0000 (17:28 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 13 Mar 2018 17:40:21 +0000 (11:40 -0600)
commit31156ec378c2ed10330c8c06bbf36fb7d7a55506
tree7a5b34322146d3e47aba04c347eca3d1919c8fe5
parentce3077ee80d6ac1087c06441f4c63ce5f13ef12c
bsg-lib: introduce a timeout field in struct bsg_job

The zfcp driver wants to know the timeout for a bsg job, so add a field
to struct bsg_job for it in preparation of not exposing the request
to the bsg-lib users.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Benjamin Block <bblock@linux.vnet.ibm.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bsg-lib.c
drivers/s390/scsi/zfcp_fc.c
include/linux/bsg-lib.h