Commit Graph
442 Commits
Author SHA1 Message Date
Bart Van Assche faeb4e4435 iscsi-scst: Fix code for detecting duplicate connections (merge r4680 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4698 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:24:53 +00:00
Bart Van Assche d3eb1ed610 iscsi-scst: Bring how-to in sync with scstadmin (merge r4302 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4697 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:19:29 +00:00
Bart Van Assche 958579fd8b Automate release archive generation (merge r4676, r4677 and r4679 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4695 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 10:04:11 +00:00
Bart Van Assche 7b0e9f7a51 iscsi-scst: Let "make install" install the man pages (merge r4133 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4694 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:59:11 +00:00
Bart Van Assche 6185ae237c Add kernel 3.7 support (merge r4645..4647 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4651 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-18 09:45:35 +00:00
Bart Van Assche 917b56374d iscsi-scstd: Fix code for replacing an attribute value (merge r4545 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4581 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 14:15:23 +00:00
Bart Van Assche 48f5401f55 iscsi-scstd: Add missing list_del() in the session creation error path (merge r4569 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4579 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 14:11:04 +00:00
Bart Van Assche f6afe9f3ff Update for 3.6 kernels (merge r4538 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4576 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 13:59:50 +00:00
Bart Van Assche 2ae9bb3655 Update for 3.5 kernel (merge r4458 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4571 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 13:27:32 +00:00
Bart Van Assche 463c93fe6e Add kernel 3.4 support (merge r4320 and r4321 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-06-18 12:24:40 +00:00
Bart Van Assche e277c6a32d Port to kernel 3.3 (merge r4164 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4228 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-25 09:19:06 +00:00
Bart Van Assche d663c8d47d SCST core and iSCSI-SCST: Port to RHEL / CentOS / SL 5.7 (merged r4111 and r4112 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4126 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-13 19:23:52 +00:00
Bart Van Assche 55ea8b70c1 iscsi-scstd: Make sure that the buffer allocated for nl_read() is large enough (merged r4109 and r4110 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4125 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-13 19:22:01 +00:00
Vladislav Bolkhovitin ccffee2682 Version updated to 2.2.1-pre
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4103 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-26 05:43:06 +00:00
Bart Van Assche b1321b7d11 Add kernel 3.2 support / iSCSI-SCST netlink change (merge r4077, r4078 and r4080 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4096 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-25 20:10:27 +00:00
Bart Van Assche 90cde839c1 iSCSI-SCST: Use more systematic names for the RHEL put_page_callback patches (merged r3837:4064 from trunk/iscsi-scst/kernel/patches/rhel)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4092 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-25 18:55:30 +00:00
Bart Van Assche c7803e79d4 Remove superfluous double quotes from around #warning messages because checkpatch 3.0 complains about these (merge r3789 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4006 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 15:54:15 +00:00
Bart Van Assche e4724285a0 Remove obsolete iSCSI-SCST init scripts (merge r3564 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3995 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 12:43:37 +00:00
Bart Van Assche 4d470f0534 iscsi-scst/doc/iscsi-scst-howto.txt: Update because of the scstadmin changes (merge r3582 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3985 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:02:31 +00:00
Bart Van Assche 497712d087 Change version number from 2.1.0-pre into 2.2.0-pre
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3984 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:01:04 +00:00
Vladislav Bolkhovitin 7dab47749e Merged revisions 3926 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3926 | vlnb | 2011-11-16 14:21:30 -0500 (Wed, 16 Nov 2011) | 4 lines
  
  Those patches were mistakenly generated for patch -p0. Fix it. Thanks
  Bart Van Assche for reporting it.
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3970 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 04:20:11 +00:00
Vladislav Bolkhovitin c9d1fbde31 Merged revisions 3902 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3902 | vlnb | 2011-10-27 15:11:40 -0400 (Thu, 27 Oct 2011) | 3 lines
  
  Update for kernel 3.1
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3969 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 04:18:58 +00:00
Vladislav Bolkhovitin 98a7e0e8b0 Version changed to 2.1.1-pre
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3862 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-18 00:25:52 +00:00
Vladislav Bolkhovitin 8099d0ae77 2.1.0 release
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3837 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-01 19:01:25 +00:00
Vladislav Bolkhovitin 2e0329c2d2 Merged revisions 3799-3800,3818-3819,3823-3825,3828,3831,3833 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3799 | vlnb | 2011-08-04 22:07:35 -0400 (Thu, 04 Aug 2011) | 37 lines
  
  Modified patch from Bart Van Assche <bvanassche@acm.org>:
  
  The range unmapped by the scst_vdisk handler when processing an UNMAP command
  is not correct. The patch below fixes that and also prevents that the following
  kernel crash can be triggered on the target:
  
  Call Trace:
   [<ffffffffa06b5350>] ? srpt_post_send+0xd0/0x140 [ib_srpt]
   [<ffffffff811bb595>] ? cpumask_next_and+0x35/0x50
   [<ffffffff810e6296>] shmem_truncate_range+0x7a6/0xa50
   [<ffffffffa0612ceb>] ? scst_get_buf_full+0x16b/0x270 [scst]
   [<ffffffffa069beb6>] vdisk_exec_unmap+0x1d6/0x4b0 [scst_vdisk]
   [<ffffffff813c0cb6>] ? _raw_spin_unlock+0x16/0x40
   [<ffffffffa069dadc>] vdisk_do_job+0x5fc/0x950 [scst_vdisk]
   [<ffffffffa0605402>] scst_do_real_exec+0xb2/0x400 [scst]
   [<ffffffffa06076a7>] scst_exec+0xd7/0x240 [scst]
   [<ffffffffa06079b6>] scst_send_for_exec+0x1a6/0x2f0 [scst]
   [<ffffffffa06086f8>] scst_process_active_cmd+0x4f8/0x790 [scst]
   [<ffffffffa0608a29>] scst_do_job_active+0x99/0x170 [scst]
   [<ffffffffa060a3da>] scst_cmd_thread+0x15a/0x3b0 [scst]
   [<ffffffff81047470>] ? default_wake_function+0x0/0x20
   [<ffffffffa060a280>] ? scst_cmd_thread+0x0/0x3b0 [scst]
   [<ffffffff8106dc26>] kthread+0x96/0xa0
   [<ffffffff81003cd4>] kernel_thread_helper+0x4/0x10
   [<ffffffff8103db01>] ? finish_task_switch+0x51/0xb0
   [<ffffffff813c0c7c>] ? _raw_spin_unlock_irq+0x1c/0x40
   [<ffffffff813c18b1>] ? restore_args+0x0/0x30
   [<ffffffff8106db90>] ? kthread+0x0/0xa0
   [<ffffffff81003cd0>] ? kernel_thread_helper+0x0/0x10
  
  Invoking truncate_range() with an end len that is not page-size aligned
  triggers it. In other words, with a block size that is below
  PAGE_CACHE_SIZE some UNMAP commands could trigger a kernel bug. I think
  it's better to print an error message and to skip an UNMAP command
  instead of triggering a kernel oops.
........
  r3800 | vlnb | 2011-08-08 21:04:57 -0400 (Mon, 08 Aug 2011) | 3 lines
  
  Update of SCST_Gentoo_HOWTO.txt to SCST 2.x. Thanks to Willem Boterenbrood <w.boterenbrood@gmail.com>!
........
  r3818 | vlnb | 2011-08-17 20:17:06 -0400 (Wed, 17 Aug 2011) | 3 lines
  
  Fix for forgotten devt initialization in preparing internal commands
........
  r3819 | vlnb | 2011-08-17 20:27:12 -0400 (Wed, 17 Aug 2011) | 6 lines
  
  Disable accepting initiator mode commands if initiator mode not enabled
  for 23xx- chips as well as suggested by ido benda <idombd@gmail.com>.
  
  This is extension of r3261 to qla2x00_queuecommand().
........
  r3823 | vlnb | 2011-08-19 19:20:22 -0400 (Fri, 19 Aug 2011) | 3 lines
  
  Update of SCST_Gentoo_HOWTO.txt from Willem Boterenbrood <w.boterenbrood@gmail.com>
........
  r3824 | vlnb | 2011-08-19 19:55:31 -0400 (Fri, 19 Aug 2011) | 3 lines
  
  Fix for one more forgotten initialization in preparing internal commands spotted by kordex@gmail.com
........
  r3825 | bvassche | 2011-08-20 10:04:52 -0400 (Sat, 20 Aug 2011) | 1 line
  
  documentation, spelling: Change phisical into physical
........
  r3828 | bvassche | 2011-08-22 15:19:56 -0400 (Mon, 22 Aug 2011) | 11 lines
  
  scst: Avoid triggering BUG() on uniprocessor systems
  
  On uniprocessor systems with lock debugging disabled spin_is_locked()
  returns false. Disable the spin_is_locked() checks if CONFIG_SMP has not
  been defined.
  
  Reported-by: Frank <frank@debian-nas.org>
  Signed-off-by: Dave Carroll <dcarroll@astekcorp.com>
  Cc: scst-devel <scst-devel@lists.sourceforge.net>
  Cc: Frank <frank@debian-nas.org>
........
  r3831 | vlnb | 2011-08-25 14:08:45 -0400 (Thu, 25 Aug 2011) | 3 lines
  
  Fix possible crash on rel_tgt_id set on transports without is_target_enabled() defined.
........
  r3833 | vlnb | 2011-09-01 14:22:27 -0400 (Thu, 01 Sep 2011) | 5 lines
  
   - Fix possible deadlock between vdev_sysfs_process_get_filename() and vdisk_del_device()
  
   - Cleanups
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3836 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-01 18:49:22 +00:00
Vladislav Bolkhovitin 8c4460b4dd Merged revisions 3775 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3775 | vlnb | 2011-07-26 21:13:10 -0400 (Tue, 26 Jul 2011) | 3 lines
  
  Update for kernels 3.0
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3781 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 01:33:54 +00:00
Vladislav Bolkhovitin 189fef8e15 Merged revisions 3672-3675 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3672 | bvassche | 2011-07-10 07:04:49 -0400 (Sun, 10 Jul 2011) | 1 line
  
  fcst: Add a paragraph to the README
........
  r3673 | vlnb | 2011-07-15 23:41:06 -0400 (Fri, 15 Jul 2011) | 3 lines
  
  put_page_callback patch for RHEL61 implemented by Patrick Zwahlen <paz@navixia.com>
........
  r3674 | bvassche | 2011-07-17 07:34:09 -0400 (Sun, 17 Jul 2011) | 1 line
  
  scstadmin: Fix a documentation inconsistency
........
  r3675 | bvassche | 2011-07-17 09:10:39 -0400 (Sun, 17 Jul 2011) | 1 line
  
  scstadmin -list_drv_attr: Do not print the error message "No such driver found" for target drivers without attributes
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3777 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 01:28:31 +00:00
Vladislav Bolkhovitin be51c024b6 Merged revisions 3656-3657 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3656 | bvassche | 2011-07-04 12:20:23 -0400 (Mon, 04 Jul 2011) | 1 line
  
  Add iscsi-scst/kernel/patches/rhel/put_page_callback_addendum-rhel6.patch
........
  r3657 | bvassche | 2011-07-05 12:49:23 -0400 (Tue, 05 Jul 2011) | 1 line
  
  scst: Avoid that scst_pr_remove_device_files() causes a crash if pr_file_name == NULL or pr_file_name1 == NULL
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3667 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 21:17:29 +00:00
Vladislav Bolkhovitin 3ae16eb269 Merged revisions 3601 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3601 | vlnb | 2011-06-20 16:09:04 -0400 (Mon, 20 Jun 2011) | 3 lines
  
  Cleanup
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3602 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-20 20:10:55 +00:00
Vladislav Bolkhovitin fa37fa3f1b Merge of the missed commits r3447,3452,3458 from the trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3559 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-08 21:27:00 +00:00
Vladislav Bolkhovitin a2f4d66bc8 Merge of the trunk's r3552:
Errors reporting fixes



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3554 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-07 18:22:22 +00:00
Vladislav Bolkhovitin 068846965a Merge of the trunk's r3438,3488:
RHEL5/6 compilation fixes



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3553 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-07 18:19:50 +00:00
Vladislav Bolkhovitin 5a0bf52cb5 Merge the trunk's r3546:
Set data_out_in_data_receiving for preliminary completed commands as
well to prevent releasing them too early in iscsi_check_tm_data_wait_timeouts()



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3548 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-06 21:06:40 +00:00
Vladislav Bolkhovitin 189288c5df Merge of the trunk's r3523:
Cleanup



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3524 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-03 20:32:02 +00:00
Vladislav Bolkhovitin 2682c9a5ad Fix for very strange merge failure.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3487 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-27 20:46:43 +00:00
Vladislav Bolkhovitin eec281ae39 Merge of the trunk's r3474:
ChangeLogs updates



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3475 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-25 00:58:41 +00:00
Vladislav Bolkhovitin 0bfa54bfb8 Merge the trunk's rrs 3438:3445, 3447:3450, 3452:3456 and 3458:3466
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3470 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-20 23:02:07 +00:00
Vladislav Bolkhovitin d840579952 Merge of the trunk's rr 3421, 3424, 3425:
- More timers improvements and cleanups

 - iSNS server should know only about enabled targets

 - Don't abort not yet received commands



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3427 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-29 21:24:28 +00:00
Vladislav Bolkhovitin c5379bd9b0 Merge of the trunk's r3414:
Rerference on the orig cmd should be taken during data out processing to correctly perform aborts



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3420 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 00:26:17 +00:00
Vladislav Bolkhovitin 64e7bb4d3a Merge of the trunk's r3413:
Correctly process being read cmd during abort



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3419 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 00:25:17 +00:00
Vladislav Bolkhovitin 9b10914fd8 Merge of the trunk's r3411:
NOP-In/response timeouts improvements



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3417 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 00:22:50 +00:00
Vladislav Bolkhovitin a759398f1f Docs update (trunk r3395)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3396 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-19 22:59:12 +00:00
Vladislav Bolkhovitin 2369ef6097 Version changed to 2.1.0-rc1
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3391 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-16 16:11:28 +00:00
Vladislav Bolkhovitin b1d4ad6706 ChangeLogs updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3361 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-06 12:28:40 +00:00
Vladislav Bolkhovitin ba711072a4 Minor cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3354 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-04 18:13:27 +00:00
Vladislav Bolkhovitin aa72d67856 Patch from Stefan Hauser <st.hauser@googlemail.com> with some style changes fixing case when after a error
between sessions_count increment and the corresponding session creation, sessions_count is not decremented.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3353 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-04 17:58:59 +00:00
Bart Van Assche d1acc24bed Suppress gcc 4.6 warnings about unused variables.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3350 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-03 14:34:48 +00:00
Vladislav Bolkhovitin bfacd754f6 Fixes for make headers_check
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3330 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-01 18:15:29 +00:00
Vladislav Bolkhovitin d77d19286f TRACE_OUT_OF_MEM cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3329 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-01 17:43:46 +00:00
Vladislav Bolkhovitin 4539005d7c Patch from Alexey Obitotskiy <alexeyo1@open-e.com> making get_initiator_port_transport_id() more flexible
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3322 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-29 14:30:01 +00:00