[SCSI] scsi tgt: scsi target lib functionality
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 16 Nov 2006 10:24:13 +0000 (19:24 +0900)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 25 Nov 2006 19:17:18 +0000 (13:17 -0600)
commit5a55c2596f55e3a60f7502d0dfcfa0d20241e5ac
tree30bee283b134036d67b15e597270f3718a5e41e5
parentb58d91547fb17c65ad621f3f98b1f2c228c812a5
[SCSI] scsi tgt: scsi target lib functionality

The core scsi target lib functions.

TODO:
- mv md/dm-bio-list.h to linux/bio-list.h so md and us do not have to
do that weird include.
- convert scsi_tgt_cmd's work struct to James's execute code. And try
to kill our scsi_tgt_cmd.
- add host state checking. We do refcouting so hotplug is partially
supported, but we need to add state checking to make it easier on
the LLD.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_tgt_lib.c [new file with mode: 0644]
drivers/scsi/scsi_tgt_priv.h [new file with mode: 0644]
include/scsi/scsi_tgt.h [new file with mode: 0644]