Bart Van Assche
7e8b205bf1
Removed a superfluous hunk from a patch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3189 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-05 13:13:11 +00:00
Bart Van Assche
94b01ca7a3
Added 2.6.37-related files (svn merge -c3129 https://scst.svn.sourceforge.net/svnroot/scst/branches/sysfs-tree-changes ).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3146 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-20 14:12:44 +00:00
Bart Van Assche
d1f587ef29
Builds now on kernel 2.6.37 too.
...
(svn merge -c2972 https://scst.svn.sourceforge.net/svnroot/scst/branches/sysfs-tree-changes )
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3002 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-10 09:13:03 +00:00
Vladislav Bolkhovitin
308aca8883
Fix memory leak in __blk_rq_map_kern_sg() reported by "Hauser, Stefan" <stefan.hauser@bdt.de>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2840 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-26 15:07:35 +00:00
Vladislav Bolkhovitin
12f4f75a81
Update for 2.6.36 based on patch from Bart Van Assche <bvanassche@acm.org>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2470 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-26 12:30:40 +00:00
Bart Van Assche
56d40a5505
Patch header update for the 2.6.36 patches (does not build yet !)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2430 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 12:22:28 +00:00
Bart Van Assche
3667335dca
Copied and renamed the 2.6.35 in-tree files (does not build yet!).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2429 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 12:20:34 +00:00
Bart Van Assche
31a346125d
Moved SCST to the end of drivers/Makefile, such that it is loaded and initialized after all other storage drivers.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2417 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-16 16:37:03 +00:00
Vladislav Bolkhovitin
2370609897
Minor cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2349 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-05 18:45:20 +00:00
Bart Van Assche
ea3fae76f6
Added scst_local to the SCST Kconfig file.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2289 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 15:28:15 +00:00
Bart Van Assche
635996c45b
Added Kconfig entry for scst_user. Excluded scst_user from the kernel build
...
when HIGHMEM4G or HIGHMEM64G is enabled.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2080 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-10 06:45:22 +00:00
Bart Van Assche
89b35b8b9d
Even more upstream include path conversions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2077 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-09 15:38:31 +00:00
Bart Van Assche
5b33692678
More upstream include path conversions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2076 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-09 15:27:54 +00:00
Bart Van Assche
9cdef50326
Made sure that the 2.6.35 kernel patches apply cleanly.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1931 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-04 09:55:10 +00:00
Bart Van Assche
7b839ceaf7
Added to repository.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1916 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:33:45 +00:00
Bart Van Assche
cf6fb97164
Made sure that the source file scst_pres.c is compiled too.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1803 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-05 16:17:36 +00:00
Bart Van Assche
eb8dd24115
Added fcst to the nightly build.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1769 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-13 17:36:17 +00:00
Vladislav Bolkhovitin
b53e4cb4c1
Merge of the pr branch with additional fixes for problems found during extra testing
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1714 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-26 17:46:46 +00:00
Vladislav Bolkhovitin
2436e1bb8b
Update for 2.6.34
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1712 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-24 12:17:36 +00:00
Bart Van Assche
0240109575
Added to repository.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1707 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-22 08:17:44 +00:00
Vladislav Bolkhovitin
af79b95d49
Resurrect readahead-2.6.32.patch under name readahead-2.6.32.below11.patch and update README that it was included in 2.6.32.11.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1658 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-27 16:52:15 +00:00
Bart Van Assche
a158f6fbe5
Removed because accepted in mainline kernel.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1637 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 11:02:13 +00:00
Bart Van Assche
ea4588ea60
Updated readahead-2.6.32.patch because of a recent kernel 2.6.32 stable patch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1636 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 10:33:37 +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
08e7c3fba6
Great threads handling and performance improvements:
...
- io_context not needed anymore
- Now threads pool can be per session
- Each device now can have own type of threads pool with own threads count
+ docs updates and some cleanups and minor fixes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1563 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-25 19:43:41 +00:00
Bart Van Assche
5dc06c26de
scripts/run-regression-tests works now for the 2.6.33 kernel too.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1525 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-01 17:32:38 +00:00
Vladislav Bolkhovitin
9c02ed26c7
Update for 2.6.33
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1524 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-01 15:56:31 +00:00
Vladislav Bolkhovitin
8a4b3a1732
Those files were deleted moving to new pass-through implementation, but should have been resurrected when that implementation was limited to 2.6.30+ kernels only. Fixing.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1499 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-12 13:07:23 +00:00
Vladislav Bolkhovitin
23accb2e12
When converting the SCST source code into a series of upstream patches, SCST
...
is built via the kbuild infastructure. In kernel version 2.6.24 (commit
f77bf01425b11947eeb3b5b54685212c302741b8) the kbuild variable ccflags-y has
been introduced and the use of EXTRA_CFLAGS in kbuild makefiles has been
deprecated. The patch below converts SCST's in-tree makefiles such that these
use ccflags-y instead of EXTRA_CFLAGS when generating kernel patches for
kernel 2.6.24 or later.
Additionally, this patch removes the "default n" from the file
scst/kernel/in-tree/Kconfig.scst since this statement is superfluous.
The patch below has been tested by verifying the output of the following
command:
for ((v=23;v<=32;v++)); do rm -rf re* && scripts/run-regression-tests 2.6.$v; done
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1447 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-01-11 19:16:38 +00:00
Bart Van Assche
ca47017056
Added to repository.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1403 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-12-16 19:49:19 +00:00
Bart Van Assche
eaad0ab4fb
Fixed kernel version numbers.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1402 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-12-16 19:49:00 +00:00
Vladislav Bolkhovitin
2b5833d90e
Update for 2.6.32 + fix context of vdisk_t10_dev_id_rwlock
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1399 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-12-16 19:21:41 +00:00
Bart Van Assche
cd4162ddb9
Applies again properly to 2.6.26 kernel.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1175 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-04 07:22:43 +00:00
Bart Van Assche
5afbc1222d
Fixed the following checkpatch warning by removing a blank line:
...
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1164 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-03 06:59:51 +00:00
Bart Van Assche
ffaac4ff69
Added to repository.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1152 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-26 11:45:59 +00:00
Vladislav Bolkhovitin
b22067d540
Update for 2.6.31
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1145 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-25 18:31:33 +00:00
Vladislav Bolkhovitin
9a57947a5e
Patch from Mark Buechler <mark.buechler@gmail.com> adding io_context patch for 2.6.26 kernel
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1113 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-18 10:33:12 +00:00
Vladislav Bolkhovitin
f748e87fb3
The patch below fixes several recently introduced sparse warnings and
...
errors. The patch below has been tested by verifying the output of the following commands:
scripts/run-regression-tests 2.6.29
scripts/run-regression-tests 2.6.30.4
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com >
Committed with some minor changes/additions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1044 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-13 17:34:32 +00:00
Bart Van Assche
b9b9ab44f5
Whitespace-only change -- fixed the following checkpatch error:
...
ERROR: space required after that ',' (ctx:VxV).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1043 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-13 12:06:04 +00:00
Vladislav Bolkhovitin
d3d1fa2d29
New implementation of the pass-through commands execution. Changes:
...
- scsi_execute_async() renamed to scst_scsi_exec_async() and from now will stay in scst_lib.c
- In scst_scsi_exec_async() support for long CDBs and bidirectional commands added
- Patches scst_exec_req_fifo were removed for kernels between 2.6.26 and 2.6.29, because they are not needed anymore. Pass-through will work on those kernels without them
- Monor bug fixes and cleanups
- Docs updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1040 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-12 17:13:26 +00:00
Vladislav Bolkhovitin
e609d55773
When compiling a 2.6.30 or 2.6.30.1 kernel with the
...
scst_exec_req_fifo-2.6.30.patch applied, the following warning is printed
many times by the compiler:
include/linux/scatterlist.h:223: warning: ‘enum km_type’ declared
inside parameter list
include/linux/scatterlist.h:223: warning: its scope is only this
definition or declaration, which is probably not what you want
include/linux/scatterlist.h:226: warning: ‘enum km_type’ declared
inside parameter list
The patch below fixes these compiler warnings by adding a forward declaration
for "enum km_type" in include/linux/scatterlist.h.
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@963 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-20 09:47:36 +00:00
Vladislav Bolkhovitin
d29bd7bc2f
Updated version of scsi_exec_async() with important fixes. Particularly:
...
- A bunch of memory corruptions was fixed
- For cases if scst_exec_req_fifo-2.6.30+.patch not applied, implementation from the patch was added to scst_lib.c. So, now for 2.6.30+ kernels scst_exec_req_fifo-2.6.X.patch is optional
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@953 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-14 15:39:57 +00:00
Vladislav Bolkhovitin
e0fed3bef6
Adds export of blk_rq_unmap_kern_sg(), which is needed if SCSI built as a module.
...
Noticed by Bart Van Assche <bart.vanassche@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@944 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-09 17:48:28 +00:00
Bart Van Assche
3a369e462d
Whitespace-only change: fixed an error reported by checkpatch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@942 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-09 07:00:57 +00:00
Bart Van Assche
901e476100
Whitespace-only changes: fixed two errors reported by checkpatch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@941 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-09 06:29:58 +00:00
Vladislav Bolkhovitin
37ba91d275
Update for 2.6.30
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@938 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-08 17:27:30 +00:00
Vladislav Bolkhovitin
700eb30c9c
Backported versions of the context readahead patch http://lkml.org/lkml/2009/4/12/9 , which improve performance of Linux read-ahead algorithm.
...
Thanks to Wu Fengguang for backporting!
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@927 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-30 10:45:48 +00:00
Vladislav Bolkhovitin
52c786d105
Patch from Klaus Hochlehnert <Mailings@kh-dev.de>:
...
Here's the readahead patch for Ubuntu 8.04 - 2.6.24 kernel
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@925 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-29 18:11:58 +00:00
Vladislav Bolkhovitin
d1470f9526
Some time ago it became clear that some SCST users are using kernel 2.6.23. So
...
it makes sense to run the nightly build also for kernel 2.6.23. But doing so
is only possible with the attached two files present in the SCST tree.
Except for the kernel version these patches are identical to the corresponding
patches for the 2.6.24 kernel.
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@907 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-16 19:36:11 +00:00
Bart Van Assche
1593c39a80
Removed trailing whitespace from the newly added lines in the readahead* patches.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@904 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-16 06:28:06 +00:00