mirror/scst/.git
12 years agoMore whitespace-only changes that fix several checkpatch errors.
bvassche [Tue, 22 Sep 2009 18:26:33 +0000 (18:26 +0000)]
More whitespace-only changes that fix several checkpatch errors.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1126 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoRemoved trailing whitespace.
bvassche [Tue, 22 Sep 2009 18:07:18 +0000 (18:07 +0000)]
Removed trailing whitespace.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1125 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago - Grammar fixes suggested by Richard Sharpe <realrichardsharpe@gmail.com>
vlnb [Tue, 22 Sep 2009 06:56:28 +0000 (06:56 +0000)]
 - Grammar fixes suggested by Richard Sharpe <realrichardsharpe@gmail.com>
 - Minor cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1124 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoSince it is normal that the SCST core calls srpt_xmit_response() for
bvassche [Mon, 21 Sep 2009 18:43:15 +0000 (18:43 +0000)]
Since it is normal that the SCST core calls srpt_xmit_response() for
a command that has already been aborted, changed the message that
reports this from an error message to an informational message.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1123 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoUsers page added
vlnb [Mon, 21 Sep 2009 12:55:54 +0000 (12:55 +0000)]
Users page added

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1122 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Added command-line option -j, which allows to use fio for measuring
bvassche [Sun, 20 Sep 2009 12:11:12 +0000 (12:11 +0000)]
- Added command-line option -j, which allows to use fio for measuring
  I/O times instead of dd.
- For asynchronous (buffered) write tests with dd, switched from
  sync-after-every-write to sync-at-end.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1121 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoIncorporate last patch submitted for task management retry.
zorko [Sat, 19 Sep 2009 20:18:03 +0000 (20:18 +0000)]
Incorporate last patch submitted for task management retry.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1120 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoFixed typo in an error message.
bvassche [Sat, 19 Sep 2009 19:01:30 +0000 (19:01 +0000)]
Fixed typo in an error message.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1119 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoPorted the OFED 1.5 commit http://www.openfabrics.org/git/?p=ofed_1_5/linux-2.6.git...
bvassche [Sat, 19 Sep 2009 18:22:22 +0000 (18:22 +0000)]
Ported the OFED 1.5 commit openfabrics.org/git/?p=ofed_1_5/linux-2.6.git;a=commitdiff;h=ce223537aeb05c9e4c36eab2b509fb98a33ba359:
replaced dma_*map* calls by ib_dma_*map* calls. Added the conversion
of dma_sync_single_for_device() to ib_dma_sync_single_for_device().
This only changes the behavior of SRPT for those IB interfaces whose
driver implements the ib_dma_mapping_ops operations.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1118 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoApplied a modified version of OFED commit http://www.openfabrics.org/git/?p=ofed_1_5...
bvassche [Sat, 19 Sep 2009 16:40:01 +0000 (16:40 +0000)]
Applied a modified version of OFED commit openfabrics.org/git/?p=ofed_1_5/linux-2.6.git;a=commitdiff;h=6b20b3fb9b51722f382d6bfe333ec5bb5c216e9f.
The OFED commit made a.o. ib_srpt.c compile on 2.6.30 and later kernels.
Although the SCST ib_srpt.c code already compiles on a 2.6.30 kernel, this
commit has been ported to SCST because the source code of the OFED
implementation is cleaner. This commit does not change any functionality
of SCST's SRPT.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1117 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoChanged a PRINT_ERROR() statement into a PRINT_INFO() statement because
bvassche [Fri, 18 Sep 2009 19:03:24 +0000 (19:03 +0000)]
Changed a PRINT_ERROR() statement into a PRINT_INFO() statement because
this statement is triggered during the normal logout / relogin procedure.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1116 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoPotential fix for the following kernel bug report:
bvassche [Fri, 18 Sep 2009 18:58:55 +0000 (18:58 +0000)]
Potential fix for the following kernel bug report:

 ------------[ cut here ]------------
 ib_srpt: srpt_xmit_response: tag= 26 channel in bad state 2
 scst: ***ERROR***: Target driver ib_srpt xmit_response() returned fatal error
 ib_srpt: srpt_xmit_response: tag= 38 channel in bad state 2
 scst: ***ERROR***: Target driver ib_srpt xmit_response() returned fatal error
 ib_srpt: srpt_xmit_response: tag= 27 channel in bad state 2
<repeated many times>
 kernel BUG at /root/scst/scst/src/scst_targ.c:3089!
 invalid opcode: 0000 [1] SMP
 CPU 0
...
 RIP: 0010:[<ffffffffa04759f6>]  [<ffffffffa04759f6>] scst_tgt_cmd_done+0x26/0x30 [scst]
 RSP: 0018:ffff88039ad27b50  EFLAGS: 00010297
 RAX: 0000000000000200 RBX: ffff8803ad9c68f8 RCX: 0000000000000000
 RDX: 00000000ffffffff RSI: 0000000000000000 RDI: ffff8803ad9c68f8
 RBP: ffff88039ad27b50 R08: 0000000000000000 R09: 0000000000000000
 R10: ffff88039ad277c0 R11: ffff88041ad278cf R12: ffff8803c2972180
 R13: ffff88039ada0000 R14: 0000000000000001 R15: ffff8803fb00c2b0
 FS:  0000000000000000(0000) GS:ffffffff807dd000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
 CR2: 00007f9281e64000 CR3: 0000000000201000 CR4: 00000000000006e0
 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
 Process ib_cm/0 (pid: 8299, threadinfo ffff88039ad26000, task ffff88039ad40000)
 Stack:  ffff88039ad27b80 ffffffffa04c0c47 ffff88039a8db900 ffff8803c2972180
  ffff8803fb00c240 ffff8803fb00c284 ffff88039ad27bc0 ffffffffa04c0d93
  ffff88042a4959c0 ffff88042a9d7800 ffff88042544da00 ffff88042a9d7898
 Call Trace:
  [<ffffffffa04c0c47>] srpt_abort_scst_cmd+0xd7/0x160 [ib_srpt]
  [<ffffffffa04c0d93>] srpt_release_channel+0xc3/0x190 [ib_srpt]
  [<ffffffffa04c0e82>] srpt_find_and_release_channel+0x22/0x30 [ib_srpt]
  [<ffffffffa04c227d>] srpt_cm_handler+0x6d/0xbb8 [ib_srpt]
  [<ffffffff80247526>] ? try_to_wake_up+0x126/0x2f0
  [<ffffffff802476fd>] ? default_wake_function+0xd/0x10
  [<ffffffff80267106>] ?  autoremove_wake_function+0x16/0x40
  [<ffffffff8023c99a>] ? __wake_up_common+0x5a/0x90
  [<ffffffff8023dece>] ? __wake_up+0x4e/0x70
  [<ffffffff80263271>] ? __queue_work+0x41/0x50
  [<ffffffff8026331d>] ? queue_work_on+0x4d/0x60
  [<ffffffff8026344f>] ? queue_work+0x1f/0x30
  [<ffffffff8026350d>] ? queue_delayed_work+0x2d/0x40
  [<ffffffffa0373255>] ? wait_for_response+0xd5/0xe0 [ib_mad]
  [<ffffffffa04b4e07>] cm_process_work+0x27/0x130 [ib_cm]
  [<ffffffffa04b5cf1>] cm_drep_handler+0xf1/0x180 [ib_cm]
  [<ffffffffa04b7790>] ? cm_work_handler+0x0/0x1b8 [ib_cm]
  [<ffffffffa04b7895>] cm_work_handler+0x105/0x1b8 [ib_cm]
  [<ffffffffa04b7790>] ? cm_work_handler+0x0/0x1b8 [ib_cm]
  [<ffffffff802628c2>] run_workqueue+0xc2/0x1a0
  [<ffffffff80262bcf>] worker_thread+0xaf/0x130
  [<ffffffff802670f0>] ? autoremove_wake_function+0x0/0x40
  [<ffffffff80262b20>] ? worker_thread+0x0/0x130
  [<ffffffff80266cbe>] kthread+0x4e/0x90
  [<ffffffff80213c99>] child_rip+0xa/0x11
  [<ffffffff80266c70>] ? kthread+0x0/0x90
  [<ffffffff80213c8f>] ? child_rip+0x0/0x11
 Code: 00 00 00 00 00 55 48 89 e5 e8 a7 cc d9 df 83 7f 28 78 75 17 80 67 2d f7 c7 47 28 0d 00 00 00 ba 01 00 00 00 e8 8c fc ff ff c9 c3 <0f> 0b eb fe 66 0f 1f 44 00 00 55 48 89 e5 41 54 53 e8 74 cc d9
 RIP  [<ffffffffa04759f6>] scst_tgt_cmd_done+0x26/0x30 [scst]
  RSP <ffff88039ad27b50>
 ---[ end trace a7f20725e9471e16 ]---

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1115 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago - More web fixes from Daniel Fernandes <dfernandes1978@hotmail.com>
vlnb [Fri, 18 Sep 2009 12:03:06 +0000 (12:03 +0000)]
 - More web fixes from Daniel Fernandes <dfernandes1978@hotmail.com>
 - sponsorship.html removed

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1114 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoPatch from Mark Buechler <mark.buechler@gmail.com> adding io_context patch for 2...
vlnb [Fri, 18 Sep 2009 10:33:12 +0000 (10:33 +0000)]
Patch from Mark Buechler <mark.buechler@gmail.com> adding io_context patch for 2.6.26 kernel

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1113 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoMicrocosmetics
vlnb [Fri, 18 Sep 2009 10:30:15 +0000 (10:30 +0000)]
Microcosmetics

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1112 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago - Web fixes from Daniel Fernandes <dfernandes1978@hotmail.com> (thanks!)
vlnb [Fri, 18 Sep 2009 10:25:33 +0000 (10:25 +0000)]
 - Web fixes from Daniel Fernandes <dfernandes1978@hotmail.com> (thanks!)

 - The comparison page updated

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1111 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Remove unused references to handler IOs that don't exist and cleanup the write
mgandalf [Thu, 17 Sep 2009 21:04:39 +0000 (21:04 +0000)]
- Remove unused references to handler IOs that don't exist and cleanup the write
  configuration function to only write vdisk and vcdrom devices. All other devices
  are automatically claimed by their handler module. I'm not sure how this will work
  with devices we wish to change handlers for.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1110 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Add the ability to specify options (ie: READ_ONLY) in assignments in scst.conf.
mgandalf [Thu, 17 Sep 2009 20:32:35 +0000 (20:32 +0000)]
- Add the ability to specify options (ie: READ_ONLY) in assignments in scst.conf.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1109 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoqla2x00t HOWTO updated
vlnb [Thu, 17 Sep 2009 20:10:11 +0000 (20:10 +0000)]
qla2x00t HOWTO updated

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1108 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoTypo fixed
vlnb [Thu, 17 Sep 2009 19:58:38 +0000 (19:58 +0000)]
Typo fixed

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1107 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoKernels below 2.6.26 not supported anymore by qla2x00t, sorry.
vlnb [Thu, 17 Sep 2009 19:57:04 +0000 (19:57 +0000)]
Kernels below 2.6.26 not supported anymore by qla2x00t, sorry.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1106 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Move a user from one group to another when applying the configuration instead
mgandalf [Thu, 17 Sep 2009 18:38:23 +0000 (18:38 +0000)]
- Move a user from one group to another when applying the configuration instead
  of deleting from one and adding to another the same user.
- Minor fix to readConfig() which wasn't fully allowing for empty groups.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1105 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoSupport for 24xx+ QLA chips added to qla2x00t. So far only for 2.6.26+ kernels.
vlnb [Thu, 17 Sep 2009 17:44:07 +0000 (17:44 +0000)]
Support for 24xx+ QLA chips added to qla2x00t. So far only for 2.6.26+ kernels.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1104 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Added the ability to specify options for -assigndev and -replacedev,
mgandalf [Thu, 17 Sep 2009 16:33:24 +0000 (16:33 +0000)]
- Added the ability to specify options for -assigndev and -replacedev,
  mainly READ_ONLY for now.
- Updated module to accept more than one option for assignDeviceToGroup() and
  replaceDeviceInGroup().
- Incremented module version number and renamed module directory to reflect it.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1103 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Added -moveuser, -renamegroup and -ReplaceDev options and necessary -to argument.
mgandalf [Wed, 16 Sep 2009 19:28:13 +0000 (19:28 +0000)]
- Added -moveuser, -renamegroup and -ReplaceDev options and necessary -to argument.
- Fixed minor bug in new renameGroup() method in SCST::SCST.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1102 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Adds read only flag support to assignDeviceToGroup() and
mgandalf [Wed, 16 Sep 2009 18:25:40 +0000 (18:25 +0000)]
- Adds read only flag support to assignDeviceToGroup() and
  replaceDeviceInGroup().

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1101 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Adds rename_group functionality with renameGroup().
mgandalf [Wed, 16 Sep 2009 18:14:32 +0000 (18:14 +0000)]
- Adds rename_group functionality with renameGroup().

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1100 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoMore consistency in TM functions logging.
vlnb [Wed, 16 Sep 2009 18:08:02 +0000 (18:08 +0000)]
More consistency in TM functions logging.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1099 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Added support for new move and replace commands with moveUser()
mgandalf [Wed, 16 Sep 2009 18:05:06 +0000 (18:05 +0000)]
- Added support for new move and replace commands with moveUser()
  and replaceDeviceInGroup() and increased the min. SCST supported
  version to 1.0.2.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1098 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoReplaced kernel versions 2.6.27.32 and 2.6.30.6 by 2.6.27.34 and 2.6.30.7 respectively.
bvassche [Wed, 16 Sep 2009 10:44:38 +0000 (10:44 +0000)]
Replaced kernel versions 2.6.27.32 and 2.6.30.6 by 2.6.27.34 and 2.6.30.7 respectively.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1097 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoMicrocleanup to log TM functions always in decimal.
vlnb [Tue, 15 Sep 2009 17:57:16 +0000 (17:57 +0000)]
Microcleanup to log TM functions always in decimal.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1095 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoSize of external names, like initiator names, increased.
vlnb [Mon, 14 Sep 2009 18:08:18 +0000 (18:08 +0000)]
Size of external names, like initiator names, increased.

Thanks to savik@alumni.technion.ac.il for pointing on it.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1094 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoMinor cleanup
vlnb [Mon, 14 Sep 2009 18:02:11 +0000 (18:02 +0000)]
Minor cleanup

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1093 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoSmall cleanup: don't do anything if on resync_size command size of the device remaine...
vlnb [Mon, 14 Sep 2009 17:47:47 +0000 (17:47 +0000)]
Small cleanup: don't do anything if on resync_size command size of the device remained the same

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1091 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Removed blank lines from kernel log.
bvassche [Sun, 13 Sep 2009 19:13:31 +0000 (19:13 +0000)]
- Removed blank lines from kernel log.
- When a session is being released, it is now logged why.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1090 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Renamed PFX macro to LOG_PFX such that it is recognized by the
bvassche [Sun, 13 Sep 2009 18:15:05 +0000 (18:15 +0000)]
- Renamed PFX macro to LOG_PFX such that it is recognized by the
  PRINT_INFO() and related macro's.
- Replaced printk(KERN_INFO PFX and printk(KERN_ERROR PFX by
  PRINT_INFO( and PRINT_ERROR( respectively.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1089 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoMade sure that there is only a single blank line before scsi_end_async() in the outpu...
bvassche [Thu, 10 Sep 2009 18:26:06 +0000 (18:26 +0000)]
Made sure that there is only a single blank line before scsi_end_async() in the output of scripts/generate-kernel-patch.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1088 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoReplaced kernel versions 2.6.27.31 and 2.6.30.5 by 2.6.27.32 and 2.6.30.6 respectively.
bvassche [Wed, 9 Sep 2009 18:30:50 +0000 (18:30 +0000)]
Replaced kernel versions 2.6.27.31 and 2.6.30.5 by 2.6.27.32 and 2.6.30.6 respectively.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1085 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoMaintainer's address added
vlnb [Tue, 8 Sep 2009 11:31:48 +0000 (11:31 +0000)]
Maintainer's address added

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1083 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoDon't try and stop a kernel thread that hasn't started- this will fix some
zorko [Tue, 8 Sep 2009 01:45:52 +0000 (01:45 +0000)]
Don't try and stop a kernel thread that hasn't started- this will fix some
reported oopses.

Fix residual setting for 21XX/22XX/23XX cards. Oops.

Return at least *some* kind of WWN. Apparently there are still enough
cards floating around that have scrambled NVRAM that this is a problem-
at least for me.

More meaningless format changes.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1082 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoIf we're running newer than 3.0.16 firmware and are in target mode, tell
zorko [Tue, 8 Sep 2009 01:40:39 +0000 (01:40 +0000)]
If we're running newer than 3.0.16 firmware and are in target mode, tell
the firmware to not automatically issue a PRLI after a PLOGI. This should
solve the problem of being in N-port topology where we have to issue a PLOGI
which by default is followed by a PRLI, which makes us an illegal target.

This is not the most ideal fix in that it breaks the initiator side of
initiator/target mode for any local topology disks.

Various other meaningless formattting changes.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1081 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoRemove obsolete documentation.
zorko [Tue, 8 Sep 2009 01:36:17 +0000 (01:36 +0000)]
Remove obsolete documentation.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1080 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoThe patch below fixes occurrences of the following recently introduced
vlnb [Mon, 7 Sep 2009 12:09:16 +0000 (12:09 +0000)]
The patch below fixes occurrences of the following recently introduced
checkpatch warning: "do not use assignment in if condition".

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
with some fixes

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1079 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoMicrocleanup to combine the vars alltogether
vlnb [Mon, 7 Sep 2009 12:02:47 +0000 (12:02 +0000)]
Microcleanup to combine the vars alltogether

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1078 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoDo not only remove references of SCSI_EXEC_REQ_FIFO_DEFINED / SCST_IO_CONTEXT
bvassche [Sun, 6 Sep 2009 12:02:49 +0000 (12:02 +0000)]
Do not only remove references of SCSI_EXEC_REQ_FIFO_DEFINED / SCST_IO_CONTEXT
but also their definition.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1077 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoRefinements / bug fixes of the changes introduced in the previous commit:
bvassche [Sun, 6 Sep 2009 11:09:21 +0000 (11:09 +0000)]
Refinements / bug fixes of the changes introduced in the previous commit:
- Only replace sBUG/sBUG_ON by BUG/BUG_ON when this macro is being used, not
  in its definition.
- Fixed bugs in algorithm for preserving the original code during a sparse run.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1076 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoBump up SCSI version to SCSI-3
vlnb [Fri, 4 Sep 2009 15:49:41 +0000 (15:49 +0000)]
Bump up SCSI version to SCSI-3

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1075 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoWhitespace-only changes. Fixed the following categories of checkpatch
bvassche [Thu, 3 Sep 2009 18:31:22 +0000 (18:31 +0000)]
Whitespace-only changes. Fixed the following categories of checkpatch
complaints:
- code indent should use tabs where possible.
- trailing whitespace.
- else should follow close brace '}'.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1074 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoFix for a problem found by Saar David <liorg@ged-I.com>: the missed << 24 added.
vlnb [Thu, 3 Sep 2009 16:52:34 +0000 (16:52 +0000)]
Fix for a problem found by Saar David <liorg@ged-I.com>: the missed << 24 added.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1073 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoThe patch below fixes the spelling of a few function names. This patch has
vlnb [Thu, 3 Sep 2009 12:09:33 +0000 (12:09 +0000)]
The patch below fixes the spelling of a few function names. This patch has
been tested by running the following command and verifying its output:
scripts/run-regression-tests 2.6.30.4

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1071 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago - Some docs and web updates with minor fixes.
vlnb [Thu, 3 Sep 2009 11:53:48 +0000 (11:53 +0000)]
 - Some docs and web updates with minor fixes.

 - Default number of IO threads for vdisks on systems with context-RA increased, because context-RA handles multitreaded sequential IO much better.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1070 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoUpdated SRPT to do list.
bvassche [Wed, 2 Sep 2009 16:43:54 +0000 (16:43 +0000)]
Updated SRPT to do list.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1069 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoModified scripts invoked during a regression test run such that the line numbers...
bvassche [Wed, 2 Sep 2009 16:42:26 +0000 (16:42 +0000)]
Modified scripts invoked during a regression test run such that the line numbers printed by sparse match those of the SCST source files present in the Subversion repository.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1068 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoUpdated Subversion ignore list.
bvassche [Wed, 2 Sep 2009 16:38:27 +0000 (16:38 +0000)]
Updated Subversion ignore list.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1067 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoTrace_level cleanups
vlnb [Wed, 2 Sep 2009 09:59:37 +0000 (09:59 +0000)]
Trace_level cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1065 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoMinor SGV docs improvements
vlnb [Wed, 2 Sep 2009 09:58:31 +0000 (09:58 +0000)]
Minor SGV docs improvements

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1064 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoWeb fixes and new images from Daniel Fernandes <dfernandes1978@hotmail.com>
vlnb [Wed, 2 Sep 2009 09:57:23 +0000 (09:57 +0000)]
Web fixes and new images from Daniel Fernandes <dfernandes1978@hotmail.com>

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1063 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoUpdate copyright date on LICENSE.
zorko [Sun, 23 Aug 2009 04:10:13 +0000 (04:10 +0000)]
Update copyright date on LICENSE.

Update README to note that multi-id firmware needs to be used for NPIV.

Add a FIRMWARE readme that was supposed to go in back last June.

M    qla_isp/LICENSE
M    qla_isp/README.scst
A    qla_isp/FIRMWARE.readme

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1062 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoUpdated kernel version 2.6.27.30 to 2.6.27.31.
bvassche [Mon, 17 Aug 2009 16:01:06 +0000 (16:01 +0000)]
Updated kernel version 2.6.27.30 to 2.6.27.31.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1061 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoUpdated kernel versions: 2.6.30.4 to 2.6.30.5 and 2.6.27.29 to 2.6.27.30.
bvassche [Mon, 17 Aug 2009 10:43:28 +0000 (10:43 +0000)]
Updated kernel versions: 2.6.30.4 to 2.6.30.5 and 2.6.27.29 to 2.6.27.30.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1060 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoRefinements for SRPT command processing state management.
bvassche [Sun, 16 Aug 2009 13:27:01 +0000 (13:27 +0000)]
Refinements for SRPT command processing state management.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1059 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoFixed bug introduced in the previous revision of the specialize-patch
bvassche [Sun, 16 Aug 2009 12:18:52 +0000 (12:18 +0000)]
Fixed bug introduced in the previous revision of the specialize-patch
script: empty lines after #if ... #else ... #endif blocks were deleted.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1058 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoUpdate firmware to that we have in Feral cvs repository.
swgruszka [Sat, 15 Aug 2009 14:10:08 +0000 (14:10 +0000)]
Update firmware to that we have in Feral cvs repository.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1057 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoMinor documentation updates.
bvassche [Sat, 15 Aug 2009 13:54:36 +0000 (13:54 +0000)]
Minor documentation updates.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1056 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Changed the identification string displayed by the ibsrpdm tool from
bvassche [Sat, 15 Aug 2009 13:48:12 +0000 (13:48 +0000)]
- Changed the identification string displayed by the ibsrpdm tool from
  "Mellanox OFED SRP target" to "SCST SRP target" to reflect that this
  version of the SRP target is distributed through the SCST project.
- Added kernel parameter use_port_guid_in_session_name that allows to
  use the original session naming scheme of the SRP target. This should
  make it again possible to connect to a multiport SRP target by masking
  out redundant paths on the target.
- Made sure that whenever a login is rejected that a kernel message is
  generated (printk()) such that this information ends up in
  /var/log/messages.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1055 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoAdded more comments.
bvassche [Sat, 15 Aug 2009 13:33:24 +0000 (13:33 +0000)]
Added more comments.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1054 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoWhether or not SCSI_EXEC_REQ_FIFO_DEFINED and SCST_IO_CONTEXT are defined
bvassche [Fri, 14 Aug 2009 19:34:55 +0000 (19:34 +0000)]
Whether or not SCSI_EXEC_REQ_FIFO_DEFINED and SCST_IO_CONTEXT are defined
does now depend on their definition in the per kernel-version patches.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1053 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoChenge logs and TAGS updated
vlnb [Fri, 14 Aug 2009 19:19:04 +0000 (19:19 +0000)]
Chenge logs and TAGS updated

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1051 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago1.0.1.1 web updates
vlnb [Fri, 14 Aug 2009 19:16:53 +0000 (19:16 +0000)]
1.0.1.1 web updates

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1049 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoRearranged preprocessor statements containing version checks such that these
bvassche [Fri, 14 Aug 2009 18:53:10 +0000 (18:53 +0000)]
Rearranged preprocessor statements containing version checks such that these
are now processed correctly by scripts/specialize-patch.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1048 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- The expression "defined(SCST_IO_CONTEXT)" is now replaced by "1".
bvassche [Fri, 14 Aug 2009 18:26:58 +0000 (18:26 +0000)]
- The expression "defined(SCST_IO_CONTEXT)" is now replaced by "1".
- The following two lines and the first blank line below are now removed:
  +#define SCSI_EXEC_REQ_FIFO_DEFINED
  +#define SCST_IO_CONTEXT
- Hunks that do no longer contain any modifications because of the
  previous steps are now removed from the output because patch otherwise
  complains.
- Added support for evaluating expressions containing the arithmetic
  operators *, /, +, -.
- Removed support for partial evaluation of expressions because it is too
  tricky to get this right due to operator precedence.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1047 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoChanged terminology in comments and one printk() message such that it
bvassche [Thu, 13 Aug 2009 19:05:31 +0000 (19:05 +0000)]
Changed terminology in comments and one printk() message such that it
matches the terminology used in the SRP spec.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1046 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Remove the line "+#define SCSI_EXEC_REQ_FIFO_DEFINED" from the generated
bvassche [Thu, 13 Aug 2009 18:29:59 +0000 (18:29 +0000)]
- Remove the line "+#define SCSI_EXEC_REQ_FIFO_DEFINED" from the generated
  patch.
- Substitute "defined(SCSI_EXEC_REQ_FIFO_DEFINED)" by "1" in preprocessor
  statements.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1045 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoThe patch below fixes several recently introduced sparse warnings and
vlnb [Thu, 13 Aug 2009 17:34:32 +0000 (17:34 +0000)]
The patch below fixes several recently introduced sparse warnings and
errors. The patch below has been tested by verifying the output of the following commands:
  scripts/run-regression-tests 2.6.29
  scripts/run-regression-tests 2.6.30.4

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
Committed with some minor changes/additions.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1044 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoWhitespace-only change -- fixed the following checkpatch error:
bvassche [Thu, 13 Aug 2009 12:06:04 +0000 (12:06 +0000)]
Whitespace-only change -- fixed the following checkpatch error:
ERROR: space required after that ',' (ctx:VxV).

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1043 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoFixed typo.
bvassche [Thu, 13 Aug 2009 09:33:28 +0000 (09:33 +0000)]
Fixed typo.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1042 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoJoined a few preprocessor statements on a single line that were split
bvassche [Wed, 12 Aug 2009 18:01:19 +0000 (18:01 +0000)]
Joined a few preprocessor statements on a single line that were split
over multiple lines such that scripts/generate-kernel-patch and
scripts/run-regression-tests can process these.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1041 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoNew implementation of the pass-through commands execution. Changes:
vlnb [Wed, 12 Aug 2009 17:13:26 +0000 (17:13 +0000)]
New implementation of the pass-through commands execution. Changes:

 - scsi_execute_async() renamed to scst_scsi_exec_async() and from now will stay in scst_lib.c
 - In scst_scsi_exec_async() support for long CDBs and bidirectional commands added
 - Patches scst_exec_req_fifo were removed for kernels between 2.6.26 and 2.6.29, because they are not needed anymore. Pass-through will work on those kernels without them
 - Monor bug fixes and cleanups
 - Docs updated

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1040 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoRemoved the one_guid_per_ioc kernel parameter again because it did not
bvassche [Tue, 11 Aug 2009 19:58:48 +0000 (19:58 +0000)]
Removed the one_guid_per_ioc kernel parameter again because it did not
solve the connectivity problem between WinOF and an SRP target
equipped with multiple IB ports.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1039 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoAdded a note about the size of struct ib_qp_attr.
bvassche [Tue, 11 Aug 2009 19:24:30 +0000 (19:24 +0000)]
Added a note about the size of struct ib_qp_attr.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1038 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago - Added "replace" command to replace one LUN by another and generate INQUIRY DATA...
vlnb [Mon, 10 Aug 2009 16:59:16 +0000 (16:59 +0000)]
 - Added "replace" command to replace one LUN by another and generate INQUIRY DATA HAS CHANGED Unit Attention
 - Sending INQUIRY DATA HAS CHANGED Unit Attention through AENs added
 - Minor fixes and cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1036 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoShould have been included in the previous commit (r1034).
bvassche [Mon, 10 Aug 2009 15:44:22 +0000 (15:44 +0000)]
Should have been included in the previous commit (r1034).

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1035 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Implemented kernel module parameter one_guid_per_ioc. Setting this
bvassche [Mon, 10 Aug 2009 15:28:03 +0000 (15:28 +0000)]
- Implemented kernel module parameter one_guid_per_ioc. Setting this
  parameter to true should make it possible to connect from a WinOF
  initiator to an SRP target when there is more than one IB path
  between initiator and target.
- Renamed mellanox_ioc_guid into global_ioc_guid.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1034 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoWhitespace-only change: fixed a checkpatch complaint about trailing whitespace.
bvassche [Mon, 10 Aug 2009 12:39:13 +0000 (12:39 +0000)]
Whitespace-only change: fixed a checkpatch complaint about trailing whitespace.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1033 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoWhitespace-only changes: fixed checkpatch complaints reported against a 2.6.27 kernel.
bvassche [Mon, 10 Aug 2009 12:32:06 +0000 (12:32 +0000)]
Whitespace-only changes: fixed checkpatch complaints reported against a 2.6.27 kernel.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1032 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago - Adds generation of INQUERY DATA HAS CHANGED UA for changed devices during automati...
vlnb [Mon, 10 Aug 2009 12:27:29 +0000 (12:27 +0000)]
 - Adds generation of INQUERY DATA HAS CHANGED UA for changed devices during automatic sessions reassignment
 - Requeue global UAs on delivery failure added
 - Minor fixes and cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1031 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Added consistency checking for the SRPT command state management
bvassche [Mon, 10 Aug 2009 09:57:30 +0000 (09:57 +0000)]
- Added consistency checking for the SRPT command state management
  introduced in r1026.
- Removed WARN_ON() statements that could trigger a warning when nothing
  was wrong because these were reading uninitialized memory. These statements
  were introduced in r1026. The call stack of the warning logged in the
  kernel log is as follows:
  <IRQ>  [<ffffffffa057f578>] ? srpt_handle_new_iu+0x818/0xaf0 [ib_srpt]
  [<ffffffff80243f18>] warn_slowpath_common+0x78/0xd0
  [<ffffffff80243f7f>] warn_slowpath_null+0xf/0x20
  [<ffffffffa057f578>] srpt_handle_new_iu+0x818/0xaf0 [ib_srpt]
  [<ffffffffa057f9ab>] srpt_completion+0x15b/0x230 [ib_srpt]
  [<ffffffffa04351f2>] mlx4_ib_cq_comp+0x12/0x20 [mlx4_ib]
  [<ffffffffa01eb1aa>] mlx4_cq_completion+0x3a/0x80 [mlx4_core]
  [<ffffffffa01ec475>] mlx4_eq_int+0x2a5/0x2e0 [mlx4_core]
  [<ffffffffa01ec59a>] mlx4_msi_x_interrupt+0x6a/0x90 [mlx4_core]
  [<ffffffff8027c0aa>] handle_IRQ_event+0x3a/0xf0
  [<ffffffff8027dee1>] handle_edge_irq+0xc1/0x160
  [<ffffffff8020ec3f>] handle_irq+0x1f/0x30
  [<ffffffff8020e37a>] do_IRQ+0x6a/0xf0
  [<ffffffff8020c7d3>] ret_from_intr+0x0/0xa
  <EOI>  [<ffffffffa0012e52>] ? acpi_idle_enter_simple+0x159/0x187 [processor]
  [<ffffffffa0012e48>] ? acpi_idle_enter_simple+0x14f/0x187 [processor]
  [<ffffffff804323e5>] ? cpuidle_idle_call+0xa5/0x100
  [<ffffffff8020b0a2>] ? cpu_idle+0x62/0xd0
  [<ffffffff804be614>] ? rest_init+0x84/0x90
  [<ffffffff8067ecc5>] ? start_kernel+0x35a/0x415
  [<ffffffff8067e289>] ? x86_64_start_reservations+0x99/0xb9
  [<ffffffff8067e389>] ? x86_64_start_kernel+0xe0/0xf2

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1030 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Fixed memory leak in srpt_handle_tsk_mgmt() error path.
bvassche [Sat, 8 Aug 2009 15:02:19 +0000 (15:02 +0000)]
- Fixed memory leak in srpt_handle_tsk_mgmt() error path.
- Modified srpt_build_cmd_rsp() and srpt_build_tskmgmt_rsp() such that
  these two functions now return the number of bytes of the response PDU
  built.
- Converted a printk() statement to TRACE_DBG().

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1029 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoAdded more comments.
bvassche [Sat, 8 Aug 2009 14:59:28 +0000 (14:59 +0000)]
Added more comments.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1028 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoUpdate README.scst a bit.
swgruszka [Sat, 8 Aug 2009 13:50:16 +0000 (13:50 +0000)]
Update README.scst a bit.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1027 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoImplemented SRPT command state management. The SRPT target code does no
bvassche [Sat, 8 Aug 2009 11:52:46 +0000 (11:52 +0000)]
Implemented SRPT command state management. The SRPT target code does no
longer rely on the struct scst_cmd state managed by the SCST core.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1026 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoUpdated Subversion ignore list.
bvassche [Fri, 7 Aug 2009 14:17:40 +0000 (14:17 +0000)]
Updated Subversion ignore list.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1025 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoUpdated SRPT documentation.
bvassche [Fri, 7 Aug 2009 14:14:19 +0000 (14:14 +0000)]
Updated SRPT documentation.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1024 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoPatch from Bart Van Assche <bart.vanassche@gmail.com>:
vlnb [Thu, 6 Aug 2009 17:18:28 +0000 (17:18 +0000)]
Patch from Bart Van Assche <bart.vanassche@gmail.com>:

Since SCST r979 the SRP target source code does no longer compile on RHEL /
CentOS systems where OFED has been installed. This is because OFED has its
own backported versions of the 2.6.20+ workqueue API and already includes a
definition of cancel_delayed_work_sync(). The patch below makes sure that on
RHEL 5 / CentOS 5 systems with OFED 1.4 installed the SCST definition of
cancel_delayed_work_sync() does not conflict with the OFED definition of
the same function.

The patch below has been tested by verifying that the SRPT source code
compiles and runs fine on CentOS 5.3 + OFED 1.4.1 and also on a system with
a vanilla 2.6.30.4 kernel.

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1023 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago - Atomic move of a security name from one security group to another implemented
vlnb [Thu, 6 Aug 2009 16:28:23 +0000 (16:28 +0000)]
 - Atomic move of a security name from one security group to another implemented
 - Cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1020 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoFixed the following checkpatch complaint: return is not a function,
bvassche [Thu, 6 Aug 2009 13:42:28 +0000 (13:42 +0000)]
Fixed the following checkpatch complaint: return is not a function,
parentheses are not required.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1019 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoWeb updates
vlnb [Thu, 6 Aug 2009 11:49:05 +0000 (11:49 +0000)]
Web updates

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1018 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoAutomatic sessions reassignment implemented
vlnb [Thu, 6 Aug 2009 11:47:18 +0000 (11:47 +0000)]
Automatic sessions reassignment implemented

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1017 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years agoFixed data races on manipulation of the srpt_devices list by eliminating
bvassche [Thu, 6 Aug 2009 10:05:10 +0000 (10:05 +0000)]
Fixed data races on manipulation of the srpt_devices list by eliminating
this list. Only the number of IB devices is relevant for the SRPT
implementation. Introduced a new counter that tracks the number of IB
devices.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1016 d57e44dd-8a1f-0410-8b47-8ef2f437770f

12 years ago- Refactoring: split srpt_ch_qp_rtr_rts() into two functions, namely
bvassche [Thu, 6 Aug 2009 09:12:37 +0000 (09:12 +0000)]
- Refactoring: split srpt_ch_qp_rtr_rts() into two functions, namely
  srpt_ch_qp_rtr() and srpt_ch_qp_rts().
- Replaced dynamic memory allocation (kmalloc()/kfree()) in the aforementioned
  two functions by stack allocation.
- Compiles again on pre-2.6.22 kernels (RHEL / CentOS systems).

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1015 d57e44dd-8a1f-0410-8b47-8ef2f437770f