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 20:42:33 +0000 (13:42 -0700)
commit1028e4b335665290dc563d5272f3c6b84e7fd66e
treeead588720dbbc192c19055ad3639e07764e3ed0b
parent4316b79e4321d4140164e42f228778e5bc66c84f
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