Bart Van Assche
158bc0649a
Add support for kernel 3.12 (merge r5163 from the trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5167 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-20 17:20:24 +00:00
Bart Van Assche
09a8276171
Convert sizeof expr into sizeof(expr) (merge r4556 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5153 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-18 13:37:32 +00:00
Bart Van Assche
c27cc13632
scst: Kernel >= 3.10 procfs build fix (merge r5148 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5151 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-18 09:05:24 +00:00
Bart Van Assche
dba17c0dee
qla2x00t and iscsi-scst: Suppress checkpatch complaints about __attribute__((packed|aligned)) (merge r3952 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5050 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-06 09:35:42 +00:00
Bart Van Assche
45609e036a
Wrong task attribute isn't error, so warning message should be issued instead (merge r4753 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5041 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-05 18:01:50 +00:00
Bart Van Assche
e41353a07f
Switch to the new and preferred approach for printing kernel messages (merge r4558 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5035 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-05 17:49:40 +00:00
Bart Van Assche
d50c554e24
Fix 3.3 checkpatch warnings about min() and max() (merge r4172 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5032 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-05 16:58:22 +00:00
Bart Van Assche
187d2d255b
Replace list_entry((a)->next, b, c) by list_first_entry(a, b, c) (merge r3965 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5030 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-05 16:48:43 +00:00
Bart Van Assche
4056201516
Copyright updates (merge r4767 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5029 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-05 16:45:58 +00:00
Bart Van Assche
ca32785206
Change __constant_cpu_... into cpu_... since the latter is also evaluated at compile time (merge r3086 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5027 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-05 16:20:02 +00:00
Bart Van Assche
ef662157e7
iscsi-scst: Fix a race condition triggered by logout (merge r5019 from the trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5023 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-05 15:42:37 +00:00
Bart Van Assche
3930bfc7e4
Update for kernel 3.11.x (merge r5004 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5008 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-09-28 16:08:32 +00:00
Bart Van Assche
22739fb6a5
Add iscsi-scst/kernel/patches/put_page_callback-3.7.10.patch (see also r4790 on the trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4983 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-31 05:48:40 +00:00
Bart Van Assche
358b509ce7
Add kernel 3.10 support (merge r4919 and 4921 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4940 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-04 17:53:03 +00:00
Bart Van Assche
220104c7e2
Add put_page_callback and exec_req_fifo patches for kernel 3.9 (merge r4853 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4880 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-05-25 19:09:59 +00:00
Bart Van Assche
98e5dc1489
Update for 3.8 kernels (merge r4768 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4794 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-03-14 10:22:46 +00:00
Bart Van Assche
41a0149495
Change version number from 2.2.1 into 2.2.2-pre
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4751 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-02-01 13:57:04 +00:00
Bart Van Assche
f5706d0902
Multiple makefiles: autodetect SCST include directory
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4737 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-13 19:42:04 +00:00
Bart Van Assche
c16b9c2b3d
Change version 2.2.1-pre into 2.2.1
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4731 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-12 15:31:48 +00:00
Bart Van Assche
68edb1a296
Copyright updates + iscsi-scst bug fix (merge r4216 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4704 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:03:57 +00:00
Bart Van Assche
ae0f286fcc
iscsi-scst: Fix a typo in an error message (merge r4251 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4703 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:46:05 +00:00
Bart Van Assche
6054c82490
iscsi-scst: With CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION disabled destroy the iscsi_cmnd_abort_mempool if initialization fails (merge r4208 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4702 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:44:32 +00:00
Bart Van Assche
fa8479a821
iscsi-scst: Do not clear reservations during nexus loss (merge r4546 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4701 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:41:22 +00:00
Bart Van Assche
87fdc2901b
iscsi-scst: Fix incorrect error handling (merge r4492 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4700 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:35:09 +00:00
Bart Van Assche
908b0b1ec6
iscsi-scst: Fix possible BUG_ON() on multiple forced commands release (merge r4513 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4699 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:29:20 +00:00
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