Commit Graph

5024 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
97c5259476 Revert r6813 in (experimental) attempt to stay SPC complying
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6814 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-23 04:34:24 +00:00
Bart Van Assche
f27b1f9cc3 scst_tg: Restore Linux and ESXi interoperability
Linux and ESXi expect that target ports in one of the ALUA states
standby or unavailable are able to process commands like TEST UNIT
READY, READ CAPACITY, RESERVE and RELEASE. This patch partially
reverts r6802.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6813 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-22 04:13:53 +00:00
Vladislav Bolkhovitin
f029978199 scst: fix potential buffer overflow + cleanup
Reported-by: Bart Van Assche <bart.vanassche@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6812 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-19 03:35:26 +00:00
Vladislav Bolkhovitin
a1b613af75 iscsi-scst: clarify comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6811 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-19 03:12:53 +00:00
Bart Van Assche
7a58722e73 scst_vdisk: Rate-limit block I/O error messages
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6810 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-18 22:18:08 +00:00
Vladislav Bolkhovitin
69834314b6 web: Gentoo HOWTO update
Suggested by calypso2k@poczta.fm



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6809 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-18 03:29:33 +00:00
Vladislav Bolkhovitin
2607cd0e47 ibmvstgt: http://stgt.berlios.de -> http://stgt.sourceforge.net cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6808 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-18 03:20:44 +00:00
Vladislav Bolkhovitin
63d1de00a1 web: unofficial git mirror added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6807 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-18 03:15:53 +00:00
Vladislav Bolkhovitin
2f44cc3ac1 scst: add OFFLINE ALUA state to the list of supported states
Reported-by: Consus <consus@gmx.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6806 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-18 01:49:09 +00:00
Vladislav Bolkhovitin
e50babee18 scst: add forwarding pass-through mode
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6805 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-18 01:27:39 +00:00
Vladislav Bolkhovitin
e8575e85c3 scst_vdisk: clarify vdisk_no_fd_allowed_commands() comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6804 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-17 03:30:17 +00:00
Vladislav Bolkhovitin
143db85864 web: Update references to STGT project
Reported-by: Xose Vazquez Perez <xose.vazquez@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6803 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-17 03:17:08 +00:00
Vladislav Bolkhovitin
edb4607dc5 [ALUA][EXPERIMENTAL]: review and cleanup according to SPC-4 allowed and not allowed commands in various ALUA states
Also changes in INQUIRY the peripheral qualifier to 001b for UNAVAILABLE and OFFLINE states as required by SPC-4



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6802 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-17 03:08:01 +00:00
Vladislav Bolkhovitin
ab193f3835 Set SPC-4 confirmance for LUN NOT SUPPORTED INQUIRY
Reported-By: dimec lunec <dimec.lunec@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6801 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-17 02:08:34 +00:00
Bart Van Assche
2ce7057d54 isert-scst: Port to Linux kernel v4.5
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6798 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-16 19:35:52 +00:00
Bart Van Assche
337b7e372e ib_srpt: Port to Linux kernel v4.5
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6797 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-16 19:35:02 +00:00
Bart Van Assche
970c2c2ed3 scst_debug.h: Kernel v4.5 build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6795 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-16 19:19:29 +00:00
Bart Van Assche
dd79d49ecb nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6794 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-07 03:58:25 +00:00
Vladislav Bolkhovitin
afa33c6b39 Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6793 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-03 02:58:19 +00:00
Bart Van Assche
adef678432 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6792 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-02 16:33:03 +00:00
Bart Van Assche
19fb455bc2 SVN_TAGS: Add 3.1.0 version information
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6791 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-28 04:11:54 +00:00
Vladislav Bolkhovitin
8b4a1cc3ff Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6790 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-28 04:07:06 +00:00
Bart Van Assche
559d075553 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6789 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-28 01:21:59 +00:00
Vladislav Bolkhovitin
fa2f54ac9e Copyrights updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6787 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-22 04:04:43 +00:00
Vladislav Bolkhovitin
1e75da4289 3.1 release web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6786 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-22 03:54:38 +00:00
Vladislav Bolkhovitin
5968cb4567 docs: version updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6785 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-22 03:08:44 +00:00
Bart Van Assche
1d3f1ada5a nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6784 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-20 16:40:19 +00:00
Bart Van Assche
c7ed845936 user space code: Fix the code for generating a release archive
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6782 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-20 00:35:29 +00:00
Bart Van Assche
76b1344cd3 ib_srpt: Fix in-tree build for kernel v4.4
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6780 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-19 18:08:36 +00:00
Bart Van Assche
120e5fb78b nightly build: Add kernel 4.4 support files
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6779 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-19 18:08:04 +00:00
Bart Van Assche
cf28155105 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6778 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-16 02:42:17 +00:00
Bart Van Assche
a06cae9fe6 scst_tg: Report that SCST supports the ALUA state "transitioning"
Reported-by: Consus <consus@gmx.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6777 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-05 15:27:11 +00:00
Bart Van Assche
71f004f44c scst: SLES 12 build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6775 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-20 12:46:16 +00:00
Bart Van Assche
10bc776195 scst: Fix a procfs compiler warning
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6773 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 12:39:16 +00:00
Bart Van Assche
9294102efe scst: Fix a RHEL 6 compiler warning
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6771 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 12:11:18 +00:00
Bart Van Assche
39c3b79497 scst regression test 7: Fix $redirect_file initialization
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6769 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 11:39:19 +00:00
Bart Van Assche
41434a9905 scstadmin: Suppress warnings about the use of an undefined value in numeric ne (!=)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6768 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 11:05:20 +00:00
Bart Van Assche
0553954a79 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6763 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 16:10:53 +00:00
Bart Van Assche
44901a0a11 scst: Fix write-protected response
From SBC-4: "If present, any write protection shall cause otherwise
valid logical block access commands that request alteration of the
medium to be terminated by the device server with CHECK CONDITION
status with the sense key set to DATA PROTECT and the appropriate
additional sense code for the condition."

Hence set the additional sense code in responses to SCSI commands
sent to read-only LUNs.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6743 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 07:07:01 +00:00
Bart Van Assche
df2a2ac1ab iscsi-scst, procfs: Fix a compiler warning
Avoid that the compiler warns that attr_info is not used in the procfs
build.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6742 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-16 08:44:04 +00:00
Bart Van Assche
fa45db4caf scst, procfs: Fix two section mismatches
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6741 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-16 08:41:09 +00:00
Bart Van Assche
034f8bc3f1 isert-scst: Unbreak nightly build
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6740 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-12 16:02:37 +00:00
Bart Van Assche
7eb874c3ba isert-scst: RHEL 7.2 build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6739 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 23:44:27 +00:00
Bart Van Assche
b3dcab787a scstadmin: Bump SCST.pm version number from 0.9.10 to 1.0.0
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6738 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 22:44:23 +00:00
Bart Van Assche
ed118eb69e scstadmin: Fix regression test 7
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6737 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 22:39:55 +00:00
Bart Van Assche
d25d044b3f scstadmin: Fix SCST/SCST.pm path
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6736 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 20:03:09 +00:00
Bart Van Assche
957b51a997 scstadmin, FC: By default, do not issue LIP. Add option -lip.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6735 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 18:35:34 +00:00
Bart Van Assche
749c8a3e75 scstadmin: Fix -attributes behavior for multiple attributes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6734 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 18:34:39 +00:00
Bart Van Assche
094a6be70d scstadmin: Add a seventh regression test
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6733 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 18:33:17 +00:00
Bart Van Assche
9484c62c41 scstadmin.sysfs/Makefile: Add and comment out TEST_VERBOSE=1
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6732 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 18:31:49 +00:00