Bart Van Assche
5430c22ea6
Updated kernel versions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1951 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-14 15:11:45 +00:00
Richard Sharpe
8ad464eae7
One the advice of Vlad, reworked the change a little ... use spinlocks now and
...
don't hold the lock across the rescan.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1950 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-14 06:03:46 +00:00
Vladislav Bolkhovitin
48bc41083c
Patch from Dirk Meister <dmeister@uni-paderborn.de> fixing fprintf parameters
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1949 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-13 18:15:31 +00:00
Vladislav Bolkhovitin
7eddeb82ab
- Some iSCSI performance fixes
...
- __attribute__((aligned(sizeof(long))) added to all field with different protection than the previous field to make sure they don't share the same bus line. Just in case, actually, compiler should do the alignment by default.
- Small docs updates.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1948 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-13 18:12:45 +00:00
Richard Sharpe
c06fb90d75
Process AEN requests. We queue them to a work function. This works, however,
...
there seems to be a problem with the Linux SCSI stack because when we delete a
LUN on the target, it does not get deleted from Linux. Still investigating.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1947 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-13 04:28:25 +00:00
Bart Van Assche
0b1b395b11
Updated kernel versions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1946 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-11 09:22:24 +00:00
Bart Van Assche
2afc2cc6cf
Removed trailing whitespace.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1945 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-09 17:55:10 +00:00
Richard Sharpe
f9eda93575
More correctly handle residuals according to the guidelines.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1944 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-09 14:48:20 +00:00
Vladislav Bolkhovitin
c45aa9a60f
1. Fix for a possible hang on threading model changing
...
2. Performance improvement on rotating storage
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1943 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-09 10:28:52 +00:00
Bart Van Assche
3f2e2bf09c
Added command-line option -r, which allows to specify an alternative recipient e-mail address. Convenient for having output of testruns sent to an alternative e-mail address.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1942 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-07 11:06:22 +00:00
Bart Van Assche
a31eb3885b
Disabled checkpatch run for kernels 2.6.33 and 2.6.34.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1941 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-07 07:58:23 +00:00
Bart Van Assche
f56dbca167
Added kernel version 2.6.35.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1940 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-07 07:57:47 +00:00
Bart Van Assche
ed195d5e4f
Added more comments.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1939 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-06 17:28:04 +00:00
Bart Van Assche
94cf387057
Removed trailing whitespace.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1938 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-06 07:05:36 +00:00
Vladislav Bolkhovitin
a93457e2cf
Let's proceed as implicit HQ only SIMPLE commands.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1937 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-05 19:41:52 +00:00
Richard Sharpe
825be22f79
Improve a debugging statement so that it shows the SAS address allocated.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1936 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-05 13:57:32 +00:00
Bart Van Assche
2fd1a2ea1f
Don't complain when the fcst patch series file is missing.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1935 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-05 07:55:26 +00:00
Richard Sharpe
b0a7281646
Remove a bunch of unneeded printk lines. Also, this line:
...
TRACE_DBG("Created tid '%08lX'", (unsigned long)&tr_id[4]);
is wrong. All it will do is print the address of the fifth byte in the tr_id.
It should cast to an unsigned long * and deref it, at least. However, I have
anothe change that prints out the tr_id as a SAS address.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1934 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-04 14:22:54 +00:00
Vladislav Bolkhovitin
df49194694
Patch from Joe Eykholt <jeykholt@cisco.com> fixing minor issue with 2.6.35
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1933 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-04 13:32:43 +00:00
Vladislav Bolkhovitin
c70529a807
Fix minor compiler warning
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1932 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-04 13:30:45 +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
3d65fe38ee
Fixed checkpatch complaints about trailing whitespace.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1930 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-04 09:54:24 +00:00
Bart Van Assche
a24bd6962a
Exclude fcst from the sparse test build if the fcst patch series file is missing.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1929 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-04 07:43:57 +00:00
Richard Sharpe
359cdf786a
Include support for PR in scst_local.c. We return a SAS-style Protocol ID. I
...
use an OUI that I think is not currently in use, so it seems unlikely that we
will clash with anyone else, but you never know. I might have to change it
later.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1928 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-04 04:03:44 +00:00
Mark Buechler
7b836c12aa
- Add a couple more options to the help screen
...
which will be implemented in the coming days.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1927 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 20:24:48 +00:00
Vladislav Bolkhovitin
19b3a787ac
Add missed comma
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1926 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 19:19:39 +00:00
Mark Buechler
13323936b4
- Better list trace levels.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1925 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 18:50:36 +00:00
Mark Buechler
819e3ea27e
- Fix a bunch of set attribute functions as well as special handling for trace_level.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1924 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 18:46:37 +00:00
Joe Eykholt
05bf0954aa
Remove debug print of two obsolete fields.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1923 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 18:05:29 +00:00
Joe Eykholt
5d84242673
Add patch series for 2.6.35.
...
The individual patches are a subset of the earlier ones, with
only line number changes to apply cleanly.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1922 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 18:04:36 +00:00
Mark Buechler
90357a4cb7
- Finish up list functions, except for list_sessions.
...
- Allow '0' named driver, target, groups, luns and attributes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1921 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 17:39:05 +00:00
Vladislav Bolkhovitin
556839b817
Document BLOCKIO regression on kernels 2.6.32+
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1920 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 16:59:37 +00:00
Mark Buechler
f734133e4a
- Small fix to list_group.
...
- Fix -list-scst-attr.
- Fix -list_dev_attr.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1919 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 16:38:49 +00:00
Mark Buechler
ebeeebf2d2
- Fix list_group.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1918 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 16:15:50 +00:00
Bart Van Assche
078841cbf4
Removed again -- doesn't build.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1917 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:38:57 +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
a6b0c914b8
Pick the proper fcst patch series file.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1915 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:32:42 +00:00
Mark Buechler
f5d4013804
- Fix list_target.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1914 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:08:15 +00:00
Mark Buechler
27a5feb7e9
- Fix list_driver.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1913 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:03:37 +00:00
Mark Buechler
c77d7d62cc
- Fix list_handler and build-out list_device.
...
- Small fix to checkConfiguration().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1912 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 14:59:37 +00:00
Mark Buechler
4c7079dd3c
- Enhance checkConfiguration() a bit.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1911 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 13:44:49 +00:00
Bart Van Assche
ed801d13c6
Updated kernel revisions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1910 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 13:41:54 +00:00
Bart Van Assche
a504344cee
Bug fix: process undefined RHEL_MAJOR / RHEL_MINOR macros properly.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1909 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-02 18:25:47 +00:00
Vladislav Bolkhovitin
95000212ed
Fixing handling of REQUEST SENSE and INQUIRY for target driver supplied buffers
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1908 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-02 17:59:09 +00:00
Vladislav Bolkhovitin
05d080488e
Small improvements
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1907 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-02 17:58:03 +00:00
Vladislav Bolkhovitin
f28e08fd70
Small web update
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1906 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-02 17:54:19 +00:00
Bart Van Assche
23a55be361
Fixed a compiler warning that was only reported on RHEL 5.x.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1905 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-02 17:01:06 +00:00
Bart Van Assche
e30376945f
Changes:
...
- Made sure that in mode thread=1 not only send completions but also receive completions are processed in thread context.
- Merged IB send and receive completion queues again such that both types of completions are processed in a fairly.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1904 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-02 16:50:14 +00:00
Vladislav Bolkhovitin
0cb5524700
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1903 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-02 11:57:31 +00:00
Bart Van Assche
a851118fe6
Avoid that /sys/module/ib_srpt/parameters/srpt_service_guid contains a double newline.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1902 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-01 19:12:34 +00:00