• Mike Christie's avatar
    block: add bsg helper library · aa387cc8
    Mike Christie authored
    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: default avatarMike Christie <michaelc@cs.wisc.edu>
    Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
    aa387cc8
bsg-lib.c 7.53 KB