bsg: move bsg-lib parts outside of request queue
authorJens Axboe <axboe@kernel.dk>
Mon, 29 Oct 2018 15:47:17 +0000 (09:47 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Nov 2018 02:47:41 +0000 (19:47 -0700)
commitf5e98655f55a2ff5efbbd701358fc3e624ed14cb
tree679318a8a4a2217201e702fb3e5b0bc85fb84541
parent3f43a10958b1f185c14af4f63ff151046c960e0a
bsg: move bsg-lib parts outside of request queue

Get rid of the special bsg job fn and timeout handler, move them
into a private bsg_set instead.

Mostly from Christoph, with fixes for error handling and cleanups.

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/bsg-lib.c
include/linux/blkdev.h
include/linux/bsg-lib.h