Commit Graph

19 Commits

Author SHA1 Message Date
yamt 6ddbd5a7dd scsi_command_t: rather than putting cleanup code before every
return statememts, use goto to a single copy of the cleanup code.
no functional changes.
2010-01-25 13:45:16 +00:00
yamt 44972f323c - remove unnecessary and confusing initialization of sess->d.
- add an assertion.
2010-01-20 11:50:28 +00:00
yamt 6b4ef1c2b1 implement REPORT LUNS for non-zero LUNs correctly. 2010-01-20 10:33:08 +00:00
yamt fdeb814270 add missing trailing newline chars to some of iscsi_err messages. 2010-01-20 00:58:49 +00:00
yamt a33cb43688 target_transfer_data: fix an incorrect flattening of RETURN_NOT_EQUAL
in rev.1.2.
2010-01-20 00:51:51 +00:00
yamt ddd2fd462c disk_write: report an error from target_transfer_data instead of
silently write garbage to the storage.
2010-01-20 00:50:09 +00:00
ghen 772bf29ffc Add missing newline. 2009-11-08 15:33:21 +00:00
agc cb2414dfd1 Fix from Bert Kiers, also noted by jak - be consistent in naming the
key for the target hostname variable - it's "target hostname", not
"target host".
2009-07-23 04:32:13 +00:00
joerg 86a313cf0e .Xr takes exactly two arguments plus separators, so fix the use here. 2009-07-15 09:50:08 +00:00
agc 80afc5a9cd catch up with change of filename 2009-06-30 02:59:15 +00:00
agc 5e01dafb5c Portable iSCSI - snapshot of current sources/changes
+ moved lba2cdb into iscsi-initiator.c and cdb2lba into disk.c
+ moved iscsi.c to protocol.c
+ calculate zero bytes and bits in a different way, and fix a bug or two
  on the way
+ add the ability to trace different types of debug information from the
  initiatior as well as the target
2009-06-30 02:44:52 +00:00
agc 534fa80408 Put the OSD sources in their own directory 2009-06-25 13:48:42 +00:00
agc b63649522c Update the external tree for new structure for reachover builds.
Add some iscsi-specific changes too:

Portable iSCSI - 20080207 to 20090622

+ Use modern autoconf
+ Add portable iSCSI initiator sources
+ New directory structure
+ Put OSD sources in their own directory
+ iscsi.h -> iscsiprotocol.h
+ add an iscsi.h for the new interface, and install it
+ globals_t -> iscsi_target_t
+ made an iscsi-target.h with all public functions in it
+ reformatted Intel license to fit in 80 columns
+ get rid of some abstractions which aren't needed any more
+ move over to a set of (name, value) tuples in target and initiator
+ add patch to set the target's StatSN at login time, from Gleb Kozyrev via
  Mark Foster
+ add manual page for libiscsi(3)
+ update libiscsi shared object major version to 2 to reflect the changes
  in API and ABI

More changes to come
2009-06-25 13:47:09 +00:00
agc fc75e102bd Move source files from the reachover framework to the dist framework. 2009-06-22 14:44:12 +00:00
agc 39f224166c Be sure to install binaries into the correct BINDIR 2009-06-22 06:52:18 +00:00
agc 29b8a3d91c Add example files and rc.d script - taken from dist 2009-06-22 01:51:02 +00:00
agc ef35af317f Add example configuration files 2009-06-21 21:23:46 +00:00
agc 2f24582978 Move the iSCSI target and initiator source across from dist/iscsi to
external/bsd/iscsi
2009-06-21 21:20:30 +00:00
agc 6a58b20453 Add the reachover framework for the iSCSI target and initiator, in
preparation for moving it from dist/iscsi to the external framework
external/bsd/iscsi.
2009-06-21 21:11:16 +00:00