Commit Graph

  • 445ebd0119 Critical patch from anonymous. Fixes possible data corruption in BLOCKIO code. A pretty subtle bug. Can be triggered on very rare on practice combination of circumstances. Vladislav Bolkhovitin 2008-05-14 14:58:29 +00:00
  • 87e8cf6123 Patch from Bart Van Assche <bart.vanassche@gmail.com>: Vladislav Bolkhovitin 2008-05-14 10:01:30 +00:00
  • cf53d51733 - In "extraclean" target new autogenerated files added - Don't automatically build iscsi-scst-adm anymore until it will be fixed Vladislav Bolkhovitin 2008-05-13 17:18:07 +00:00
  • 994ecdbf28 Reference to Open-FCoE added Vladislav Bolkhovitin 2008-05-13 10:08:21 +00:00
  • 8e5bb8a22f Series of patches from Bart Van Assche <bart.vanassche@gmail.com>: Vladislav Bolkhovitin 2008-05-13 09:27:16 +00:00
  • 259ab730ce - Fixed GFP_KERNEL misuse. Reported independently by mbe1@charter.net and Erez Zilber <erezz@Voltaire.COM> - Fixed not sufficient in_irq() to determine atomic allocation context. Reported by mbe1@charter.net Vladislav Bolkhovitin 2008-05-12 15:58:34 +00:00
  • 2bff6d9765 - Rejecting command reimplemented in a more simple, straightforward and readable way. - Minor external interface change: now target drivers should set for aborted commands SCST_CMD_DELIVERY_ABORTED status via scst_set_delivery_status(). In-tree drivers updated. - Fixed broken compilation if put_page_callback patch not applied to the kernel. Reported by Erez Zilber <erezz@Voltaire.COM> - Fixed several minor problems reported by David Berton <davidbrt@yahoo.com> - Fixed __exit misuse, when such functions called from __init functions. - Docs updated. - Other minor changes and cleanups. Vladislav Bolkhovitin 2008-05-07 18:44:15 +00:00
  • 1b40d8f1f9 Double "repository" word fixed Vladislav Bolkhovitin 2008-05-04 10:31:05 +00:00
  • 77518a69fb Web updates Vladislav Bolkhovitin 2008-05-02 11:40:26 +00:00
  • fa2612efd1 Remove request sense warning and fix typo. Stanislaw Gruszka 2008-05-01 06:49:33 +00:00
  • eac485e270 Nullify f/w pointer if load fails. Stanislaw Gruszka 2008-05-01 06:46:23 +00:00
  • fda0d8a9a4 Bugfix - disallow to free initiator data when disabling target mode, as long as all reference to it is dropped. Stanislaw Gruszka 2008-04-30 14:19:38 +00:00
  • 37c1a3ab1a Add missing definition of strncasecmp() for older kernels. Stanislaw Gruszka 2008-04-24 13:12:08 +00:00
  • 0f3f7be821 - Update README.scst. - Add comment about overall isp_scst.c design. - Put some compile time selectable values in one place. Stanislaw Gruszka 2008-04-24 12:50:51 +00:00
  • db1399ff87 Bugfix: put initiator reference counter when finish task management. Stanislaw Gruszka 2008-04-24 09:31:02 +00:00
  • 9252bb3170 Synchronize with Feral CVS repository: - use kthread - MBOX_ACQUIRE macro redefined Stanislaw Gruszka 2008-04-24 06:34:08 +00:00
  • 1b384e9234 Remove unnecessary variables. Stanislaw Gruszka 2008-04-23 11:17:33 +00:00
  • 6d004ffe91 - Compile time conditinal debug. - Initialize variable. Stanislaw Gruszka 2008-04-23 09:23:43 +00:00
  • 8cfda488ba - Avoid tmd's leakage when disable target mode when pending I/O (some work still needed in low level driver). - Properly free channels on error case. - Start HBA unregistation after proc file is removed. Stanislaw Gruszka 2008-04-23 09:15:14 +00:00
  • be9a66547f Fixed wrong state assigmnent in scst_xmit_response() Vladislav Bolkhovitin 2008-04-22 15:04:09 +00:00
  • 925fbcdda3 The bunch of pending changes. Sorry, it's quite big. Vladislav Bolkhovitin 2008-04-22 10:30:53 +00:00
  • 56382c20ac Type fix. Stanislaw Gruszka 2008-04-21 17:37:43 +00:00
  • 9be327002c Remove not necessary headers and definitions. Stanislaw Gruszka 2008-04-21 17:34:42 +00:00
  • 0480442bed Fixes compilation brokenness on kernels below 2.6.24 Vladislav Bolkhovitin 2008-04-21 16:34:55 +00:00
  • eaf21084d9 Added possibility to create virtual removable devices Vladislav Bolkhovitin 2008-04-21 15:04:10 +00:00
  • 9696649c7c Limit scatter/gather table size (need to be reviewed). Stanislaw Gruszka 2008-04-21 10:45:22 +00:00
  • 1399e8e64c - bug fix: pass error to scst_rx_data - set transfer length for SPI transport - add unlikely()/likely() - print error when don't know what to do with tmd Stanislaw Gruszka 2008-04-21 10:37:35 +00:00
  • c921c18c13 Remove obsolete kernel_thread and use kthread API. Stanislaw Gruszka 2008-04-21 10:31:16 +00:00
  • 5b11d67e24 Change proc interface to SCST like. Allow to enable/disable each lun for SPI device. Stanislaw Gruszka 2008-04-21 10:27:59 +00:00
  • a437da7b02 Logout implementation, reference counting to protect initiator data. Stanislaw Gruszka 2008-04-21 08:36:14 +00:00
  • 72528747b3 Forgotten in r338 patches Vladislav Bolkhovitin 2008-04-21 07:01:13 +00:00
  • d1598c4d3c More svn:ignore fixes Vladislav Bolkhovitin 2008-04-18 16:42:10 +00:00
  • 25b29b701a Update for 2.6.25 Vladislav Bolkhovitin 2008-04-18 16:38:39 +00:00
  • fa84d540ef scsi_tgt.h renamed to scst.h Vladislav Bolkhovitin 2008-04-17 17:35:37 +00:00
  • b95fae3220 - Fixes scst_user brokennesses in various modes, especially in iSCSI-SCST - Minor debug logging fixes - Minor cleanups Vladislav Bolkhovitin 2008-04-17 15:25:39 +00:00
  • 67ea9c1d0a Remove unintended change from r334, added there only for testing TM. Stanislaw Gruszka 2008-04-11 08:18:02 +00:00
  • 83c63625e6 Fixes for task management: - abort only tasks from initiator, which send TM function - check LUN for LUN_RESET function - schedule tasklet to free aborted command from tmd's queue - call scst_tgt_cmd_done() to free aborted command from SCST Stanislaw Gruszka 2008-04-11 07:34:07 +00:00
  • c3a77a0d45 Critical fix: Vladislav Bolkhovitin 2008-04-10 10:57:30 +00:00
  • aaa202a398 Fix bug when checking tmd flags against bidirectional transfer. Stanislaw Gruszka 2008-04-08 09:11:10 +00:00
  • 21850b4dca Pass expected transfer length and direction to SCST for fibre channel devices. Fix bug when using SCST_DATA_UNKNOWN insted of SCST_DATA_NONE. Stanislaw Gruszka 2008-04-08 06:47:30 +00:00
  • 94eeba176d We need only 2 debug level, one for error situations, second for normal data flow. Print only in debug mode about sense buffer cutting. Stanislaw Gruszka 2008-04-04 12:18:00 +00:00
  • 5523441b4b Document changes about how to enable/disable target. Stanislaw Gruszka 2008-04-04 12:02:20 +00:00
  • c4c19fa17f Fix bug when enabling target on nonzero channel. Stanislaw Gruszka 2008-04-04 11:57:40 +00:00
  • 19827957bb Fix bugs introduced in r325 and r324. Stanislaw Gruszka 2008-04-04 11:53:01 +00:00
  • adb98e77c3 Remove trailing whitespaces. Stanislaw Gruszka 2008-04-04 11:49:19 +00:00
  • 16717c2bc9 Implement multichannel support in the way each channel is seen by SCST as separate HBA. Stanislaw Gruszka 2008-04-04 11:48:28 +00:00
  • be3bbaa220 Fix HBA registration / unregistration: - not acknowledge when fail to register - unregistration when no one can call functions from HBA Stanislaw Gruszka 2008-04-04 11:26:53 +00:00
  • 09b77a6eeb Do not dump stack when data length is bigger than low level driver can handle. Stanislaw Gruszka 2008-04-04 11:17:49 +00:00
  • f9af070111 Print error when we can not send all sense data (which is very unlikely). Stanislaw Gruszka 2008-04-01 13:51:07 +00:00
  • ca650f2bb6 Add missed things from Feral CVS repository. Stanislaw Gruszka 2008-04-01 12:04:34 +00:00
  • 802ee69a76 Stop setting command expected values for SCST, as we can not assure values are right. Stanislaw Gruszka 2008-04-01 07:14:26 +00:00
  • a5fb49273f - Update copyrights. - Substitute scsi_tdebug to debug. Stanislaw Gruszka 2008-04-01 06:47:11 +00:00
  • dd108f6edb Remove obsolete linux stuff. Stanislaw Gruszka 2008-04-01 06:38:55 +00:00
  • 2152c7ad20 Synchronize with Feral CVS repository: - define an IS_1020 macro - more dma mask cleanups Stanislaw Gruszka 2008-03-28 13:03:31 +00:00
  • e9b645432d Synchronize with Feral CVS repository: - Make pre-1240 cards be able to do 64 bit dma as well, making sure that they don't cross a 16MB boundary. Stanislaw Gruszka 2008-03-28 13:01:38 +00:00
  • ec367bff87 Synchronize with Feral CVS repository: - remove the poorly thought out isp_in_intr goop Stanislaw Gruszka 2008-03-28 13:00:26 +00:00
  • d2303505f5 Synchronize with Feral CVS repository: - Make FC_SCRATCH_ACQUIRE a macro that returns true/false - Fixes from Stanislaw for 2.6.23 & 2.6.24. Many thanks. - A quick hack to isp_kthread to use waitqueues instead of semaphores to have less blockage. More rewrites later Stanislaw Gruszka 2008-03-28 12:58:58 +00:00
  • d558c6d867 Synchronize with Feral CVS repository: - Do some whitespace changes. Solaris related compilation fix. Remove XS_SET_STATE_STAT macro. - Remove XS_SET_STATE_STATE macro. Stanislaw Gruszka 2008-03-28 12:47:37 +00:00
  • c8998a3608 Synchronize with Feral CVS repository: - update 24xx firmware to 4.03.00 Stanislaw Gruszka 2008-03-28 12:44:16 +00:00
  • b3cbdff958 Synchronize with Feral CVS repository: - whitespace and other minor fixes - Remove F/W crash dump support. We only worked it out for 2200 and 2300 cards. It's also true that QLogic would not support us even if we *did* give them a crash dump, so the usage here is not really worth it. Stanislaw Gruszka 2008-03-28 12:42:36 +00:00
  • e9d1b2f52a Synchronize with Feral CVS repository: - simplify: remove f/w crashdump stuff Stanislaw Gruszka 2008-03-28 12:38:10 +00:00
  • 8ec477fea4 Synchronize with Feral CVS repository: - Use a slightly cleaner macro. Stanislaw Gruszka 2008-03-28 12:35:40 +00:00
  • 7d98059854 Synchronize with Feral CVS repository: - whitespace Stanislaw Gruszka 2008-03-28 12:33:36 +00:00
  • c2d9a1310f Synchronize with Feral CVS repository: - Allow different platforms/environments to specificy the size of the high and low private storage for tmd_cmd_t structures - Add a scan scsi thread event so that we can attach devices as we discover them - Fix some tabs - Make things work correctly when CONFIG_FW_LOADER is *not* defined - Get rid of sema and use wait_interruptible Stanislaw Gruszka 2008-03-28 12:31:35 +00:00
  • 28c8ffd7e2 Synchronize with Feral CVS repository: - remove redundant pdb Stanislaw Gruszka 2008-03-28 12:27:17 +00:00
  • dc05d8b731 Synchronize with Feral CVS repository: - Copyright Update - Fix some fabric login bugs Stanislaw Gruszka 2008-03-28 12:23:27 +00:00
  • 240d5511be Patch from Vu Pham <vuhuong@mellanox.com>: SRP target driver Vladislav Bolkhovitin 2008-03-17 11:29:50 +00:00
  • 6993f48774 Fixes possible *dev_cmd_count leak Vladislav Bolkhovitin 2008-03-14 10:42:03 +00:00
  • c09205bd0c Bugfixes: - pass commands to SCST after assigning initiator to them - enable lun's on proper channel Stanislaw Gruszka 2008-03-13 10:58:44 +00:00
  • 7fcabadf56 - Fixed race on TM leading to crashes - Connection close improved to be less agressive and honor TCP TIME_WATE state - Docs updates Vladislav Bolkhovitin 2008-03-11 19:09:30 +00:00
  • 366a99f781 Protect initiators list using tmds_lock. Avoid possibility to allocate initiator twice. Stanislaw Gruszka 2008-03-11 14:27:13 +00:00
  • e89cdc5baf - Fixed READ POSITION command handling - Fixed race in TM handling Vladislav Bolkhovitin 2008-03-10 10:59:56 +00:00
  • 3ddb4c7653 - Fixed race on TM processing leading to BUG() - Fixed dev_cdrom and dev_modisk load failures if there are no media in the drives - Other minor fixes and cleanups Vladislav Bolkhovitin 2008-03-05 18:22:01 +00:00
  • ba3062fe6b - TM fixes - Optimizations and send timeout introduced in r295 temporary disabled - Big connection shutdown times improvements. Great thanks to Alexey Kuznetsov for suggestions! - RESERVE/RELEASE serialization now made with TST field 0 (i.e. single task set) - Other minor fixes and improvements Vladislav Bolkhovitin 2008-02-29 18:25:56 +00:00
  • f17ee9c61b - Fixes for previous commit - Minor logging improvements Vladislav Bolkhovitin 2008-02-26 18:22:45 +00:00
  • 9a48ab9d18 A bunch of pending changes: - Response data send timeout implemented: now if initiator doesn't accept data for too long (7 sec), target closes connection - Connction closing improved: now session cleared without need to wait for all outstanding commands data fully transmitted - On session unregistration now all outstanding commands are implicitely aborted - TM processing in SCST core made independant from other TM commands (before they were serialized) - Few bug fixes - Other minor improvements and cleanups - Docs update Vladislav Bolkhovitin 2008-02-25 18:48:02 +00:00
  • 32e45721e3 Pass proper expected length for INQUIRY command Stanislaw Gruszka 2008-02-19 12:02:14 +00:00
  • 6ac8e0cb62 Update README Stanislaw Gruszka 2008-02-19 10:42:43 +00:00
  • 0d9a7ade1a Compilation for kernel 2.6.24 Stanislaw Gruszka 2008-02-19 10:12:12 +00:00
  • d512dabf27 Allow driver to compile Stanislaw Gruszka 2008-02-19 09:38:52 +00:00
  • c6231eda32 Avoid race conditions when task is aborted. Commands can be in two places, our internal queue or passed to SCST. Stanislaw Gruszka 2008-02-19 09:37:46 +00:00
  • 7aeea459c0 Interface to enable/disable target per channel Stanislaw Gruszka 2008-02-19 09:19:38 +00:00
  • 6fea5c313e Some cleanups and performance works Vladislav Bolkhovitin 2008-02-18 18:44:29 +00:00
  • eec2a571dd - Fixed minor problem in iSCSI-SCST - Important reference counting and barriers usage cleanups - Sense buffer made dynamic - Other minor improvements and cleanups - Docs updates Vladislav Bolkhovitin 2008-02-13 17:15:47 +00:00
  • f657ae2e93 Prevent to compile broken driver Stanislaw Gruszka 2008-02-13 16:28:35 +00:00
  • 98eea4d65e Let's isp_scst.c compile, multichannel support will be added later. Stanislaw Gruszka 2008-02-12 11:52:00 +00:00
  • 11d433ade4 Synchronize with Feral CVS repository: Stanislaw Gruszka 2008-02-12 11:10:16 +00:00
  • c5e240b44f Synchronize with Feral CVS repository: - Add a missing MSI disable and provide for pre-2.6.8 kernels. - Fix bugs- forgot to actually compile (shame on me). Stanislaw Gruszka 2008-02-12 11:08:06 +00:00
  • bdd6415a91 Synchronize with Feral CVS repository: Stanislaw Gruszka 2008-02-12 11:05:04 +00:00
  • a090925a19 Synchronize with Feral CVS repository: Stanislaw Gruszka 2008-02-12 11:02:21 +00:00
  • ecd810bede Synchronize with Feral CVS repository: - Need to include linux/vmalloc.h. Showed up on PPC port. - Fix complaints about using an uninitialized pointer. Stanislaw Gruszka 2008-02-12 10:59:43 +00:00
  • 17be1044c5 Synchronize with Feral CVS repository: Stanislaw Gruszka 2008-02-12 10:55:04 +00:00
  • 2a806d5bb5 Synchronize with Feral CVS repository: - Allow ISP_FC_GETDINFO callers to get target mode entries. - Remove stray '`' from define and PPC is now working again. - Fix a typo which had us loading 2322 f/w into a 2300. Oops. Stanislaw Gruszka 2008-02-12 10:50:57 +00:00
  • ba3e4ca72f Synchronize with Feral CVS repository: Stanislaw Gruszka 2008-02-12 10:48:35 +00:00
  • 1d33858644 Synchronize with Feral CVS repository: Stanislaw Gruszka 2008-02-12 10:46:32 +00:00
  • 4bea275344 Synchronize with Feral CVS repository: Stanislaw Gruszka 2008-02-12 10:44:49 +00:00
  • a13eae04d2 Synchronize with Feral CVS repository: Stanislaw Gruszka 2008-02-12 10:41:45 +00:00
  • c4b2403ead Synchronize with Feral CVS repository: Stanislaw Gruszka 2008-02-12 10:37:37 +00:00
  • 81e3f89ae0 Synchronize with Feral CVS repository: Stanislaw Gruszka 2008-02-12 10:18:14 +00:00
  • 798f5d1e5a Synchronize with Feral CVS repository: Stanislaw Gruszka 2008-02-12 10:02:35 +00:00