block: add bsg helper library
authorMike Christie <michaelc@cs.wisc.edu>
Sun, 31 Jul 2011 20:05:09 +0000 (22:05 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sun, 31 Jul 2011 20:05:09 +0000 (22:05 +0200)
commitaa387cc895672b00f807ad7c734a2defaf677712
tree31c2c3f3e0d58ff2524cdf8f94abecc394f5eb49
parent24c3047095fa3954f114bfff2e37b8fcbb216396
block: add bsg helper library

This moves the FC classes bsg code to the block layer and
makes it a lib so that other classes like iscsi and SAS can use it.

It is helpful because working with the request queue, bios,
creating scatterlists, etc are a pain that the LLD does not
have to worry about with normal IOs and should not have to
worry about for bsg requests.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/Kconfig
block/Makefile
block/bsg-lib.c [new file with mode: 0644]
include/linux/blkdev.h
include/linux/bsg-lib.h [new file with mode: 0644]