Hi Martin, this is the next round of bsg cleanups based on the previous scsi ioctl changes. The biggest changes are major simplification of how the bsg nodes are created and found, and a simplification of the interface between the frontend in bsg.c and the two backends. Diffstat: block/blk-mq.c | 2 block/bsg-lib.c | 89 +++++------ block/bsg.c | 353 ++++++++++----------------------------------- drivers/scsi/scsi_bsg.c | 72 +++++---- drivers/scsi/scsi_ioctl.c | 63 +++----- drivers/scsi/scsi_priv.h | 11 - drivers/scsi/scsi_scan.c | 2 drivers/scsi/scsi_sysfs.c | 24 ++- include/linux/blkdev.h | 14 - include/linux/bsg-lib.h | 1 include/linux/bsg.h | 31 +-- include/scsi/scsi_device.h | 5 12 files changed, 229 insertions(+), 438 deletions(-)