Commit Graph

4520 Commits

Author SHA1 Message Date
Bart Van Assche
90da428ec2 scst_vdisk: Insert blank line after declarations
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6152 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-25 20:30:55 +00:00
Bart Van Assche
77cc4fb7e0 Add kernel 3.19 nightly build support infrastructure
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6151 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-25 20:29:50 +00:00
Bart Van Assche
9c037ae577 scstadmin: Fix saving groups without LUNs
Reported-by: Aayush Kasurde <aayush.kasurde@gmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6150 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-25 19:43:30 +00:00
Vladislav Bolkhovitin
2090b6811a qla2x00t: remove detect() callback
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6149 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-25 01:00:06 +00:00
Vladislav Bolkhovitin
a788a4efd7 Newer version of QLogic target driver with 16G (26xx/83xx) support
This version is production used by SanDisk for quite some time and
passed all very hard internal tests. However, due to original qla2xxx
issues NPIV is not working in this version, so if you need NPIV either
use v3.0 of this driver or the driver from the QLogic git.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6148 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-25 00:32:39 +00:00
Vladislav Bolkhovitin
04d53bfb14 Small logging improvement
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6147 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-25 00:21:16 +00:00
Vladislav Bolkhovitin
fe38e4acb2 Copyrights updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6146 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-19 00:01:03 +00:00
Vladislav Bolkhovitin
842a168c7a Docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6145 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-18 23:37:06 +00:00
Vladislav Bolkhovitin
a1bdbdef34 SVN ignores updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6144 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-18 23:25:33 +00:00
Bart Van Assche
1699051be2 nightly build: Update a kernel version
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6142 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-06 15:53:37 +00:00
Bart Van Assche
1c8574763b ib_srpt, Makefile: Pass same flags to "make modules" and to "make install"
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6141 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-04 10:42:38 +00:00
Bart Van Assche
0e292ac2d8 ib_srpt: Follow-up for r6138
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6140 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-03 15:49:22 +00:00
Bart Van Assche
940faa9ad4 ib_srpt: Enable building against OFED headers without patching the build system
Additionally, include the OFED flavor name in the ib_srpt version number.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6138 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-02 14:28:25 +00:00
Bart Van Assche
ef48d260d2 ib_srpt: Suppress a compiler warning when building against Mellanox OFED
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6137 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-02 14:24:33 +00:00
Vladislav Bolkhovitin
f59f2ab6ab scst_disk: Avoid overflow for large max_hw_sectors values
Avoid that max_sectors << block_shift overflows for large max_sectors
values by changing the test ((max_sectors << block_shift) < PAGE_SIZE)
into (max_sectors < (PAGE_SIZE >> block_shift)).

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



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6136 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-28 03:35:59 +00:00
Vladislav Bolkhovitin
88d8018183 Web updates for 3.0.1 release
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6135 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-25 05:18:02 +00:00
Bart Van Assche
7d3686b481 scstadmin: Suppress a Perl warning
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6134 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 14:46:10 +00:00
Bart Van Assche
1b31f90912 scripts/generate-release-archive: Include build_mode file in generated archives
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6132 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 14:36:38 +00:00
Bart Van Assche
d9c1ffa29a iscsi-scst/usr/Makefile: Fix include path
Use the SCST_INC_DIR variable passed by the parent Makefile such that
both the in-tree and out-of-tree builds work.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6130 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 14:10:54 +00:00
Bart Van Assche
94a4227449 Makefile: Add top-level release-archive target
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6127 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 13:36:12 +00:00
Bart Van Assche
1ffffec68a scripts/update-version: Add to repository
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6126 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 13:01:07 +00:00
Bart Van Assche
e8df6e739e scst.spec: Separate DKMS spec into a new spec file
Split scst.spec.in as follows:
* Keep the directives for generating an RPM that contains binary kernel
  modules in scst.spec.in. Add the kernel version number in the RPM name
  to make it possible to install RPMs for different kernel versions next
  to each other.
* Move the directives for generating a DKMS RPM into a new spec file. The
  name of this spec file does not contain a kernel version since the DKMS
  RPM is independent of the kernel version against which it has been built.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6125 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-23 14:48:56 +00:00
Bart Van Assche
857a4c97fe SVN_TAGS: Add 3.0.x/3.0.0 version information
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6116 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-23 13:02:53 +00:00
Bart Van Assche
a1a3a3d6ee nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6114 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-22 09:57:50 +00:00
Vladislav Bolkhovitin
4ac6d7a26d [PATCH] scst: Drop detect() method
There is no need for a detect() method - code that is present in such
a method can be moved to module_init(). Hence declare this method
obsolete. Leave the detect pointer member in the target template for
now for out-of-tree SCST drivers.

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

with some improvements



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6113 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-21 04:32:36 +00:00
Bart Van Assche
1d8c5653a1 scstadmin: Correct rem_group and rem_init help text
Signed-off-by: Aayush Kasurde <aayush.kasurde@gmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6108 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-20 10:37:14 +00:00
Bart Van Assche
35db9c65f3 ib_srpt: Suppress three more checkpatch warnings
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6107 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-17 07:21:01 +00:00
Bart Van Assche
f974dee9b0 ib_srpt: Suppress a checkpath complaint
Avoid that checkpatch reports the following:

WARNING: Possible unnecessary 'out of memory' message


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6106 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-17 07:08:49 +00:00
Bart Van Assche
68a9178e4a ib_srpt: Remove redundant forward declarations
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6105 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 15:47:46 +00:00
Bart Van Assche
56d3217eb0 ib_srpt: Update a source code comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6104 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 15:43:44 +00:00
Bart Van Assche
d46a3e8bab ib_srpt: Convert srpt_xfer_data() return value
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6103 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 14:49:45 +00:00
Bart Van Assche
59f25b783e ib_srpt: Eliminate an argument from srpt_xfer_data()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6102 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 14:34:00 +00:00
Bart Van Assche
5b5d944140 ib_srpt: Rename more variables
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6101 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 13:41:31 +00:00
Bart Van Assche
aa52348481 ib_srpt: Fix a checkpatch complaint
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6100 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 13:21:34 +00:00
Bart Van Assche
4ddf8b19ec ib_srpt: Clean up an error message
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6099 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 13:18:18 +00:00
Bart Van Assche
585df7c5f6 ib_srpt: Rename a few variables
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6098 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 13:16:52 +00:00
Bart Van Assche
edb4d579fb ib_srpt: Shorten a source code comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6097 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 12:53:12 +00:00
Bart Van Assche
c2b09b243c ib_srpt: Change type of the first argument of srpt_get_ioc()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6096 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 12:48:36 +00:00
Bart Van Assche
460c0bdada ib_srpt: Swap the order of two declarations
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6095 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 10:56:26 +00:00
Bart Van Assche
c8e0a2c711 ib_srpt: Reorder structure members
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6094 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 10:40:05 +00:00
Bart Van Assche
b0ed8ed58c ib_srpt: Convert print and trace statements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6093 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 10:26:21 +00:00
Bart Van Assche
b686ed343d ib_srpt: Remove TRACE_ENTRY()/TRACE_EXIT() macro invocations
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6092 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 09:46:40 +00:00
Bart Van Assche
42bc56a0a2 ib_srpt: Add missing kernel-doc comments
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6091 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 09:44:25 +00:00
Bart Van Assche
f9815c620d ib_srpt: Eliminate struct srpt_tgt
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6090 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 09:41:25 +00:00
Bart Van Assche
f80ab08f9f nightly build: Update a kernel version
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6087 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-15 09:07:44 +00:00
Bart Van Assche
f2796fa60b ib_srpt: Remove a structure member that became superfluous due to the previous commit
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6086 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-13 13:12:06 +00:00
Bart Van Assche
0d452d4712 ib_srpt: Drop support for one_target_per_port=false
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6085 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-13 12:59:18 +00:00
Bart Van Assche
5019ae319e scst: Introduce file_inode()
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
[bvanassche: Constified file_inode() argument / added iscsi-scst conversion]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6084 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-12 07:48:10 +00:00
Bart Van Assche
087c7352ac srpt/README: Document how to configure scsi-mq at the initiator side
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6028 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-09 09:27:38 +00:00
Bart Van Assche
3e59f81ea5 scripts/spread-mlx4-ib-interrupts: Add to repository
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6027 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-09 09:26:10 +00:00