From: Bob R. <rd...@us...> - 2004-05-28 19:47:49
|
Update of /cvsroot/unh-iscsi/unh-iscsi/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31808 Modified Files: CHANGELOG Log Message: Index: CHANGELOG =================================================================== RCS file: /cvsroot/unh-iscsi/unh-iscsi/src/CHANGELOG,v retrieving revision 1.70 retrieving revision 1.71 diff -C2 -d -r1.70 -r1.71 *** CHANGELOG 22 Mar 2004 20:52:04 -0000 1.70 --- CHANGELOG 28 May 2004 19:47:39 -0000 1.71 *************** *** 1,2 **** --- 1,63 ---- + 05/27/04 + Bob Russell + - updated target/README to explain how to add/delete files, and how to + associate target numbers and lun numbers between initiator and target. + - lots of changes to target/scsi_target.{c,h}: + - reorganized mapping of target_id and lun numbers to use a new table called + target_map_table[][] containing MAX_TARGETS * MAX_LUNS elements, each + element is of type target_map_item. Also added a mutex semaphore called + target_map_sem to control access to this table. This new table replaces + the old scsi_device[][] and target_info[][] tables, the old fdlist, and the + old devset_t type. + - eliminated global target_num and replaced it with static target_count in + scsi_target.c, since the number of targets no longer has to be one more + than the largest target_id. + - added global target_in_use() to iscsi_common.h, with definitions in + initiator/iscsi_initiator.c and target/scsi_target.c. + - added addfile and delfile commands (and add_file(), del_file() functions) to + FILEIO mode so that files can be dynamically added to or removed from + target_map table. These are based on changes provided by Bjorn Thordarson + -- thanks Bjorn. + - in several places, added info to messages that indicates operating mode + (MEMORYIO, DISKIO, FILEIO, GENERICIO) of the scsi_target module. + - added cmd_queue_lock spinlock to target_data structure to replace queue_sem + as the control lock for the cmd_queue, which is now a generic list_head list. + - added allocate_report_lun_space() to consolidate code dealing with REPORT_LUNS + commands in the different modes. Much more consolidation of common code + needs to be done! + - moved dump_buffer() from initiator/initiator_utilities.c to + common/lun_packing.c so target could use it too. + + 04/25/04 + Bob Russell + - fixed printing of function and line in TRACE printing. + - added some minor debug printing in iscsi_target.c + + 04/08/04 + Bob Russell + - eliminated a race condition in target in which R2Ts were being sent with + ExpCmdSN set to the CmdSN of the command that generated them + (should be CmdSN + 1). + + 04/04/04 + Bob Russell + - in text_param.c, fixed bug in parsing of, and reporting errors about, + the target number at the end of the TargetName string. + - in common and initiator subdirectories, cleaned up code by adding + TRACE_WARNING and calls to it. Also slightly changed wording in some + ERROR messages. + - in common subdirectory, cleaned up code by adding + print_bad_security_key() and print_not_allowed_security_key() and calls + to them. + - in scsi_target.{c,h}, fixed race condition on access to command queue. + Replaced coded-out cmd_queue_start and cmd_queue_end list with generic + "struct list_head cmd_queue", eliminated queue_sem semaphore, replaced + add_delete spinlock with cmd_queue_lock spinlock, and used cmd_queue_lock + to control all access to the cmd_queue. Also eliminated some unnecessary + searches on the cmd_queue. + - in scsi_target.c, added a test before all up() on target_data.target_sem + so that the up() is done only if the semaphore is not already unlocked + (to preserve the semantics of a binary rather than a counting semaphore). + 03/19/04 Bob Russell |