Commit Graph
424 Commits
Author SHA1 Message Date
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
Vladislav Bolkhovitin 16f654b5ad Update for 2.6.38
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3294 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-21 14:10:50 +00:00
Vladislav Bolkhovitin 1d717b0441 DefaultTime2Retain and DefaultTime2Wait should always be negotiated to 0 since not supported.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3290 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-21 12:03:31 +00:00
Vladislav Bolkhovitin dfa320af1b Try to load crc32c-intel to hardware offload digests.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3283 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-15 14:05:39 +00:00
Vladislav Bolkhovitin f518cd150c Let's remove *.orig and *.rej files on extraclean
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3277 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-10 20:07:23 +00:00
Vladislav Bolkhovitin 47ba7e7795 Docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3273 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-09 20:37:14 +00:00
Vladislav Bolkhovitin 2324d8831f Let's always explicitly set permissions on installed files.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-09 20:17:06 +00:00
Bart Van Assche ce918fa396 Spelling fix (in source code comments): reaquire -> reacquire.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3265 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-27 09:46:41 +00:00
Vladislav Bolkhovitin 2a230b19ee Errors reporting cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3245 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-09 22:48:24 +00:00
Vladislav Bolkhovitin 411fb4f623 - Update for 2.6.37
- Docs updated
 - Returning of DIRECT contexts by scst_estimate_context() disabled (see comment in the patch why)



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3203 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-10 18:34:29 +00:00
Vladislav Bolkhovitin f3238333dd Copyrights updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3200 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-06 20:02:04 +00:00
Bart Van Assche 1b72343266 Added "const" to keep checkpatch happy.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3191 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-05 13:14:25 +00:00
Bart Van Assche 5fe037e5b9 Updated my e-mail address in copyright statements and README files.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3175 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-21 18:48:14 +00:00
Vladislav Bolkhovitin 2676966858 Fix lost line in iscsi_scst_itf_ver.h lead to incorrect generation of this file. Reported by torn5 <torn5@shiftmail.org>.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3160 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-21 11:07:42 +00:00
Bart Van Assche dd44ac462a Corrected feedback e-mail address.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3113 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-16 16:23:35 +00:00
Bart Van Assche 93e5e30c62 Corrected feedback e-mail address.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3112 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-16 16:22:25 +00:00
Bart Van Assche 2b224a26ca Clarified two paragraphs in the iSCSI how-to.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3110 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-16 15:40:24 +00:00
Bart Van Assche d1ef0a2ccd Fixed a typo in iscsi-scst/doc/iscsi-scst-howto.txt.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3096 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-15 16:49:00 +00:00
Vladislav Bolkhovitin e24296ad98 Fix case when after INCOMING_MAX overflow no listen events requested to be provided by poll().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3088 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-15 15:48:51 +00:00