64 Commits

Author SHA1 Message Date
Bart Van Assche
7965ed9b7e Change version number into 3.1.0
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6749 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 14:48:48 +00:00
Vladislav Bolkhovitin
a85225d5a3 Merged revisions 6703-6718,6720-6721 via svnmerge from
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk

........
  r6703 | bvassche | 2015-11-19 08:53:18 -0800 (Thu, 19 Nov 2015) | 5 lines
  
  scst_sysfs: Introduce scst_parse_add_repl_param()
  
  This makes the __scst_process_luns_mgmt_store() source code slightly
  easier to read.
........
  r6704 | bvassche | 2015-11-19 09:30:24 -0800 (Thu, 19 Nov 2015) | 1 line
  
  scripts/run-regression-tests: Also test no-DLM build
........
  r6705 | bvassche | 2015-11-19 09:31:02 -0800 (Thu, 19 Nov 2015) | 1 line
  
  scst: Fix procfs build
........
  r6706 | bvassche | 2015-11-19 09:48:18 -0800 (Thu, 19 Nov 2015) | 1 line
  
  scst: More procfs build fixes. See also r6694.
........
  r6707 | bvassche | 2015-11-20 13:47:57 -0800 (Fri, 20 Nov 2015) | 5 lines
  
  scst_local: Linux kernel v4.4 build fix
  
  Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
  [ bvanassche: Merged the two #if-statements into a single #if-statement ]
........
  r6708 | bvassche | 2015-11-20 15:23:48 -0800 (Fri, 20 Nov 2015) | 2 lines
  
  /etc/init.d/scst: Suppress rmmod error messages
........
  r6709 | bvassche | 2015-11-20 16:19:04 -0800 (Fri, 20 Nov 2015) | 5 lines
  
  scstadmin: Improve copy manager support
  
  Add support for saving and restoring copy manager attributes.
........
  r6710 | bvassche | 2015-11-22 11:49:18 -0800 (Sun, 22 Nov 2015) | 4 lines
  
  qla2x00t: Fix a few typos
  
  Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
........
  r6711 | bvassche | 2015-11-22 12:03:29 -0800 (Sun, 22 Nov 2015) | 7 lines
  
  mpt: Include header file mptbase.h without path
  
  Allow include path modification with LSI_INC_DIR.
  
  Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
........
  r6712 | bvassche | 2015-11-23 15:04:57 -0800 (Mon, 23 Nov 2015) | 4 lines
  
  scstadmin: Improve copy manager support further
  
  Also restore pass-through LUNs
........
  r6713 | bvassche | 2015-11-23 15:05:24 -0800 (Mon, 23 Nov 2015) | 2 lines
  
  scstadmin: Make regression test 6 pass
........
  r6714 | bvassche | 2015-11-25 09:28:02 -0800 (Wed, 25 Nov 2015) | 6 lines
  
  usr/fileio: Build fix for Ubuntu 15.10
  
  Ubuntu 15.10 includes Linux kernel 4.2 but does not define
  SERVICE_ACTION_IN_16 in the <scsi/scsi.h> glibc header. Hence
  provide a definition in scst_const.h.
........
  r6715 | bvassche | 2015-11-27 20:39:57 -0800 (Fri, 27 Nov 2015) | 1 line
  
  scst-const.h: Follow-up for r6714
........
  r6716 | bvassche | 2015-12-02 08:57:45 -0800 (Wed, 02 Dec 2015) | 1 line
  
  scst: Rename the PR-sync document to avoid filenames with spaces in the SCST tree
........
  r6717 | bvassche | 2015-12-02 14:59:33 -0800 (Wed, 02 Dec 2015) | 1 line
  
  scstadmin: Ensure that -no_lip takes effect for all SCST configuration commands
........
  r6718 | bvassche | 2015-12-03 16:31:40 -0800 (Thu, 03 Dec 2015) | 1 line
  
  nightly build: Update kernel versions
........
  r6720 | vlnb | 2015-12-07 19:44:51 -0800 (Mon, 07 Dec 2015) | 3 lines
  
  docs: fix (extra)clean brocken by r6716
........
  r6721 | vlnb | 2015-12-07 19:51:01 -0800 (Mon, 07 Dec 2015) | 3 lines
  
  Cleanup
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6722 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-08 03:58:10 +00:00
Vladislav Bolkhovitin
9d61dc4b03 Cluster SCSI state sync support
From Bart Van Assche <Bart.VanAssche@sandisk.com>
Prepared with help from Pralay Dakua <Pralay.Dakua@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6573 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:23:46 +00:00
Vladislav Bolkhovitin
90ad49cbae scst_user: optimize performance by exchanging multiple commands/responses per IOCTL
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6466 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-08-08 02:57:14 +00:00
Vladislav Bolkhovitin
d1bd22afd9 scst_user: avoid global locks
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6221 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-06 04:35:06 +00:00
Vladislav Bolkhovitin
c7868c2733 Docs updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6015 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-30 01:35:32 +00:00
Bart Van Assche
ee86982787 doc/scst_pg.sgml: Remove trailing whitespace
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5937 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-12 09:34:55 +00:00
Vladislav Bolkhovitin
10ebf80e7a Docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5931 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-11 04:27:17 +00:00
Vladislav Bolkhovitin
ca14799ca7 documentation: Document SCST_SERIALIZED and SCST_STRICTLY_SERIALIZED
Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5383 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-03-26 03:18:03 +00:00
Vladislav Bolkhovitin
551dd518ac Fix URL to SCST website
Signed-off-by: Steven J. Magnani <steve@digidescorp.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5335 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-03-15 02:09:17 +00:00
Bart Van Assche
95a503e5c6 doc/scst_user_spec.sgml: Spelling fix - change descrition into description
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5080 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-23 07:38:40 +00:00
Bart Van Assche
3e75fc65cf scst documentation spelling fix: lenght -> length
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5079 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-23 07:37:39 +00:00
Vladislav Bolkhovitin
dd0fc4b56d Docs and web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4518 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-09-14 01:31:05 +00:00
Vladislav Bolkhovitin
1d2a7e3364 Improve commands parsing and allow uniform LBA decoding as well as changing LBA and transfer length in uniform manner.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4224 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-25 03:11:23 +00:00
Vladislav Bolkhovitin
64699a540a TM handling improvements
TM actions should be done only after all affected commands done to avoid
possibility that any of them be executed with newly set parameters.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4217 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-19 17:46:36 +00:00
Vladislav Bolkhovitin
293c2f3abd Slightly modified patch from Bart Van Assche <bvanassche@acm.org> cleaning VERIFY commands processing
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4131 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-15 22:32:05 +00:00
Vladislav Bolkhovitin
3f6ecca6ff Docs clarification
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4116 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-08 19:08:53 +00:00
Vladislav Bolkhovitin
0649cbfc8d SGV cache doc converted to LinuxDoc
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3316 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-28 11:31:49 +00:00
Vladislav Bolkhovitin
8b0843b8b2 Small sections rearrange
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3308 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-25 18:37:06 +00:00
Vladislav Bolkhovitin
ce4764dae1 Converting scst_user_spec to LinuxDoc, part 2: Makefile updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3292 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-21 13:18:11 +00:00
Vladislav Bolkhovitin
f9002d0bd1 Converting scst_user_spec to LinuxDoc, part 1
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3291 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-21 12:19:13 +00:00
Vladislav Bolkhovitin
5cd8982545 Custom parse improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3281 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-15 13:09:13 +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
f1637a55d6 Don't delete sgv_cache.txt on clean
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3276 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-10 15:43:34 +00:00
Vladislav Bolkhovitin
ae1df6bead Small docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2444 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-22 12:43:16 +00:00
Vladislav Bolkhovitin
121a30e9b2 Big CDBs handling improvements.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2295 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 13:56:46 +00:00
Vladislav Bolkhovitin
d27bbc0d15 Final version and docs update before pushing it into the stable branch
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2090 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-10 14:07:53 +00:00
Vladislav Bolkhovitin
c66ae1850e - get_transport_version() function changed to get target on entry
- transport versions propageted to user space handlers



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2061 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-06 21:45:48 +00:00
Vladislav Bolkhovitin
036899aa9f GPL cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2057 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-06 13:48:15 +00:00
Vladislav Bolkhovitin
8d4d13fdb1 Fix cdb_len handling to avoid crashes on attempts to copy negative cdb_len bytes + minor scst_user residual fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1788 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-25 17:05:36 +00:00
Vladislav Bolkhovitin
78edc5afb9 Various cleanups and fixes after some errors injection tests. Particularly:
- ISCSI preliminary completed commands handling fixes
 - Write residuals cleanups and fixes
 - Interface to handle residuals and received from initiators data changed
 - BIDI cleanups and fixes.
 - All BIDI IN fields and functions renamed to OUT to be in line with the in-kernel convention

+ 

Docs updated



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1780 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-23 13:57:35 +00:00
Vladislav Bolkhovitin
9cc65b544c Minor type fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1750 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-09 15:36:16 +00:00
Bart Van Assche
3a7fae9677 Removed trailing whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1614 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-14 18:03:04 +00:00
Vladislav Bolkhovitin
ff6d116e49 Minor mainline kernel related fixes and cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1609 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-13 17:25:45 +00:00
Vladislav Bolkhovitin
89345ab95c Custom commands parsing cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1455 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-01-12 19:05:27 +00:00
Vladislav Bolkhovitin
34ac184d39 - New scst_user IOCTL SCST_USER_PREALLOC_BUFFER added
- New scst_user option sgv_disable_clustered_pool added
 - fileio_tgt updated to use those new facilities
 - Scst_user docs updated
 - sgv_pool_get() and sgv_pool_put() made exported
 - AENs sense buffer override fixed



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1159 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-30 18:35:24 +00:00
Vladislav Bolkhovitin
b03c72f55d Support for 24xx+ QLA chips added to qla2x00t. So far only for 2.6.26+ kernels.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1104 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-17 17:44:07 +00:00
Vladislav Bolkhovitin
56440d9262 Minor SGV docs improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1064 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-02 09:58:31 +00:00
Vladislav Bolkhovitin
d257a9541d - Possibility to operate with single size entries as well as control of the reclamation time added to the SGV caache
- Fileio_tgt updated to be able to use those neww facilities

 - Docs updated. Particulary, a new dociment describing the SGV cache added



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@986 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-29 12:49:17 +00:00
Vladislav Bolkhovitin
9448f0d436 Fixes incorrect errors reporting on devices unregistration.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@964 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-20 10:34:54 +00:00
Vladislav Bolkhovitin
0f164fd9a8 Fixes issues cased by recent change of cdb_len to unsigned. Reported by Krzysztof Błaszkowski <kb@sysmikro.com.pl>.
Also it adds INIT ELEMENT STATUS WRANGE to the list of known commands. 



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@864 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-19 18:19:06 +00:00
Vladislav Bolkhovitin
0013da36a6 Changes suggested by Sam Haxor <generationgnu@yahoo.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@859 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-18 18:09:35 +00:00
Vladislav Bolkhovitin
ab943ee30a Scst_user doc updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@846 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-11 17:37:55 +00:00
Vladislav Bolkhovitin
9f2f2e7bd1 - Cleanups and improvements in handling various special commands properties
- REQUEST SENSE handling improved
 - READ CAPACITY(16) handling improved
 - New write_medium member added to scst_user's scst_user_scsi_cmd_reply_parse
 - scst_user docs updated
 - Other minot cleanups



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@816 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-01 19:26:10 +00:00
Vladislav Bolkhovitin
e62b39196b Bidirectional data transfers added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@744 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-03 17:49:26 +00:00
Vladislav Bolkhovitin
2580e6b17f Merge with 1.0.1.x r731:
Docs updated. Changes in iscsi-scst/doc/iscsi-scst-howto.txt made by Bart Van Assche



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@732 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-01 12:12:41 +00:00
Vladislav Bolkhovitin
a1acc1bc78 - scst_user docs updated
- Added notification about device change in fileio_tgt



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@700 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-03-17 18:07:36 +00:00
Vladislav Bolkhovitin
e8b67bb755 - Docs updates
- Minor cleanups



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@675 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-02-18 18:52:35 +00:00
Vladislav Bolkhovitin
7a4e9129fc - Minor optimization
- New member target_name added to struct scst_user_sess
 - Docs updates



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@634 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-01-15 18:50:43 +00:00
Vladislav Bolkhovitin
8b77aa8ad2 Minor cleanups and docs updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@422 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-06-26 16:35:10 +00:00