Bart Van Assche
cf536e76b3
Spelling fix: choosen -> chosen
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5953 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 13:08:34 +00:00
Bart Van Assche
40142b6879
Spelling fix: shrinked -> shrunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5952 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 12:36:47 +00:00
Bart Van Assche
3450315283
Source code comment spelling fix: refering -> referring
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5951 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 12:35:51 +00:00
Bart Van Assche
dd249ab556
Spelling fix: occured -> occurred
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5950 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 12:35:00 +00:00
Bart Van Assche
5154cbcf5a
Source code comment spelling fix: loosing -> losing
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5949 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 12:33:37 +00:00
Bart Van Assche
a1ffc737c0
Source code comment spelling fix: hander -> handler
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5948 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 12:33:06 +00:00
Bart Van Assche
8446d801b6
Source code comment spelling fix: explicitely -> explicitly
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5947 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 12:32:30 +00:00
Bart Van Assche
d8ec3a3873
Source code spelling fix: authentification -> authentication
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5946 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 12:31:08 +00:00
Bart Van Assche
d6dbe1a0b0
Source code spelling fix: addres -> address
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5945 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 12:29:51 +00:00
Bart Van Assche
c8d86e2811
Source code spelling fix: accesss -> access
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5944 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 12:28:56 +00:00
Bart Van Assche
bd100d73a3
Source code spelling fix: Equivilant -> Equivalent
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5943 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-22 12:28:13 +00:00
Vladislav Bolkhovitin
44170b30dc
scst_vdisk: Remove superfluous llseek() calls
...
vfs_read() and vfs_write() ignore the file offset set by llseek().
Hence remove the llseek() calls that occur just before vfs_read() and
vfs_write(). See also the implementation in the Linux kernel of the
pread64() and pwrite64() system calls for examples of code that uses
vfs_read() and vfs_write().
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5942 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-20 03:49:23 +00:00
Vladislav Bolkhovitin
81ad848f2b
scst_vdisk: Only accept NAA IDs allowed by SPC
...
See also paragraph 7.8.6.6 NAA designator format in SPC-4.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5941 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-20 03:48:07 +00:00
Vladislav Bolkhovitin
94d1c2fc6c
Replace in cases, where sporadic failures are possible, HARDWARE ERROR
...
by INTERNAL TARGET FAILURE, which is retriable (some OS'es don't retry
HARDWARE ERROR)
Reported and suggested by Shahar Salzman <shahar.salzman@kaminario.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5940 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-19 03:55:14 +00:00
Vladislav Bolkhovitin
d9c9a8b8a2
Fallback to the old qla driver if the git one not detected
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5939 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-19 03:50:58 +00:00
Bart Van Assche
1573624301
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5938 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-17 07:48:40 +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
Bart Van Assche
b83f4faa55
scripts/generate-kernel-patch: Include scst_pg.sgml instead of sgv_cache.sgml
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5936 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-12 09:29:42 +00:00
Bart Van Assche
edcde67ddd
ib_srpt: Log P_Key during login
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5935 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-11 12:37:02 +00:00
Bart Van Assche
331b72be46
scst_vdisk: Follow-up for r5932
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5934 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-11 12:31:03 +00:00
Vladislav Bolkhovitin
878a3be328
vdisk_blockio: Report invalid scatterlists
...
It is possible for a target driver to pass a scatterlist via
scst_cmd_set_tgt_sg() that is valid for the vdisk_fileio handler
but not for the vdisk_blockio handler. Complain loudly if an invalid
scatterlist is passed to vdisk_blockio because such scatterlists
cause silent data corruption with most Linux block drivers.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5933 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-11 04:38:04 +00:00
Vladislav Bolkhovitin
bba96aca8c
scst_vdisk: Increase virtual device name length
...
This change makes integration with OpenStack easier since OpenStack GUIDs
are 36 characters long: 32 hex characters and four dashes.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5932 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-11 04:34:36 +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
Bart Van Assche
c641574046
rpm build: Add support for qla2x00t driver in QLogic git repository
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5929 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-09 12:33:16 +00:00
Vladislav Bolkhovitin
0d8b4dce6c
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5928 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-06 05:02:27 +00:00
Vladislav Bolkhovitin
245b8b0e2b
Oops, fix for the previous commit
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5914 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-04 23:43:51 +00:00
Vladislav Bolkhovitin
3dec4655b2
FORMAT commands should be strictly serialized
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5913 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-04 23:41:52 +00:00
Bart Van Assche
0717d99a62
/etc/init.d/scst: Exit with status code 0 upon 'start' if already running
...
Reported-by: Dimitar Tanev <dimitar@linuxdevgroup.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5912 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-04 12:19:56 +00:00
Bart Van Assche
5ce36973f7
scripts/generate-kernel-patch: Swap two filters
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5910 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-04 11:50:58 +00:00
Bart Van Assche
7d8f7fe5bb
scripts/rebuild-rhel-kernel-rpm: Add support for RHEL 6.6
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5905 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-03 17:07:31 +00:00
Bart Van Assche
8d518d8e33
iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-504.patch: Add
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5904 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-03 17:06:57 +00:00
Bart Van Assche
6b8e075a4e
scripts/rebuild-rhel-kernel-rpm: Fix an error message
...
Reported-by: Hiroyuki Sato <hiroysato@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5903 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-03 11:50:06 +00:00
Bart Van Assche
2c18cd82ed
scst: Add scripts/rebuild-rhel-kernel-rpm to the SCST release archive
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5895 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-28 09:16:37 +00:00
Bart Van Assche
7507b77063
ib_srpt: Rework the max_sge computation changes from r5795
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5894 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-27 15:29:29 +00:00
Bart Van Assche
efa1a763a6
ib_srpt: Log reject reason
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5893 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-27 15:24:17 +00:00
Bart Van Assche
d51ecb0e2a
ib_srpt: Add support for immediate data
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5892 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-27 15:19:21 +00:00
Bart Van Assche
1657c7db3b
scst.h: Add uintptr_t
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5891 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-27 15:18:58 +00:00
Vladislav Bolkhovitin
a42056e75a
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5890 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-27 04:36:33 +00:00
Bart Van Assche
e7e2e4e17c
scripts/specialize-patch: Reduce noise in nightly build output
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5889 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-26 19:42:10 +00:00
Bart Van Assche
a41cf8bc0a
scripts/specialize-patch: Support blanks around numbers inside parentheses
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5888 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-26 16:25:57 +00:00
Bart Van Assche
b37c988337
ib_srpt: Make the send queue full messages more informational
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5887 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-26 14:39:51 +00:00
Bart Van Assche
548ea345b5
Build fixes for RHEL 6.6 kernel 2.6.32-504
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5886 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-26 13:38:52 +00:00
Bart Van Assche
9707f85c0b
Fix kernel 3.17 checkpatch warnings about 'long long unsigned'
...
Avoid that checkpatch reports the following warning:
WARNING: type 'long long unsigned' should be specified in 'unsigned long long' order.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5885 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-26 08:16:44 +00:00
Bart Van Assche
d8c750993d
nightly build: Add kernel 3.17
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5884 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-26 08:07:08 +00:00
Bart Van Assche
2fb7c084d7
Add kernel 3.17 build infrastructure
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5883 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-26 08:05:09 +00:00
Vladislav Bolkhovitin
e13aa6622d
Update for kernels 3.17.x
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5882 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-26 07:02:17 +00:00
Bart Van Assche
4e645536a2
ib_srpt: Add support for HCA's that do not support SRQ
...
Based on a patch provided by Parav Pandit <Parav.Pandit@Emulex.Com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5881 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-24 17:59:14 +00:00
Bart Van Assche
51834ae6bb
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5880 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-22 11:12:29 +00:00
Bart Van Assche
bfaad5fabf
scripts/generate-release-archive: Accept an optional list of file names
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5879 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-19 00:20:20 +00:00
Bart Van Assche
dd5561c93a
srpt/Makefile: Add double quotes around a path
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5878 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-19 00:17:41 +00:00