]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: add bsg helper library
authorMike Christie <michaelc@cs.wisc.edu>
Sun, 31 Jul 2011 20:05:09 +0000 (22:05 +0200)
committerGuru Anbalagane <guru.anbalagane@oracle.com>
Fri, 16 Dec 2011 02:30:24 +0000 (18:30 -0800)
commitbea8c48247cb793aae5bf22ac197c6c6430121a0
treea3547face764043f9af23f6745a9c9916a23dd12
parent1267e3656dbf233a8e2a010658e270676d4b428f
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]