Bart Van Assche
010eeb258f
Added more error checking.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1968 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-21 09:23:25 +00:00
Bart Van Assche
a738ab6d51
Added to repository.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1967 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-21 09:14:53 +00:00
Bart Van Assche
314c1a5750
Documentation update.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1966 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-21 08:45:49 +00:00
Bart Van Assche
6c3b1e55be
Corrected an error message.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1965 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-21 08:27:28 +00:00
Mark Buechler
d6f3264de7
- Remove device requirement from removeLun().
...
- Fix a couple cases where -group is not really required.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1964 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-20 17:58:06 +00:00
Vladislav Bolkhovitin
03edafeca3
Minor web changes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1963 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-20 15:46:26 +00:00
Vladislav Bolkhovitin
1607d12c9c
Sysfs cleanups and fixes, part 1
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1962 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-20 15:38:21 +00:00
Mark Buechler
21e0babdc2
- Misc fixes to remaining options.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1961 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-20 15:20:13 +00:00
Mark Buechler
ed9a0bd470
- Added in add_target & rem_target options.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1960 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-20 14:59:38 +00:00
Vladislav Bolkhovitin
11a8b8e9c6
Pass-through dev handlers are async, so let's make them single threaded.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1959 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-19 12:39:26 +00:00
Mark Buechler
f154480e68
- Minor fix for setting attributes which aren't readable.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1958 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-18 15:28:18 +00:00
Mark Buechler
95cbc2bbf5
- All list/set attribute options now work.
...
- Adding and removing target & driver attributes now work.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1957 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-18 15:02:33 +00:00
Vladislav Bolkhovitin
e38cc66c2b
Change SCSI_MAX_SG_SEGMENTS to more correct SG_MAX_SINGLE_ALLOC
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1956 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-18 12:59:28 +00:00
Vladislav Bolkhovitin
25025f3a5a
Update docs about kernel versions where BLOCKIO problem ( http://lkml.org/lkml/2010/7/28/315 ) was fixed. Big thanks to Bryan Mesich <bryan.mesich@ndsu.edu>!
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1955 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-17 19:13:00 +00:00
Bart Van Assche
4c2d1b2a1d
Bug fix.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1954 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-17 19:03:44 +00:00
Bart Van Assche
f6cd30ca7c
Whitespace-only change: fixed a checkpatch complaint.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1953 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-17 17:38:56 +00:00
Bart Van Assche
894190c09e
Removed superfluous __attribute__((packed)).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1952 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-15 10:02:10 +00:00
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