Vladislav Bolkhovitin
479a9d0a9f
- Update for 2.6.28
...
- Small doc update in flow control area
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@632 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-01-12 18:55:08 +00:00
Bart Van Assche
e5caaf4548
Removed trailing whitespace. While the checkpatch script included with the 2.6.27 kernel did not complain on trailing whitespace in documentation and kbuild files, the checkpatch script included with the 2.6.28 kernel does.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@631 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-01-10 17:21:57 +00:00
Vladislav Bolkhovitin
606a02d963
Minor performance improvement
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@630 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-01-04 17:53:57 +00:00
Vladislav Bolkhovitin
c89d549bbe
- Minor improvements
...
- Incorrect BUG_ON removed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@629 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-01-04 16:14:33 +00:00
Vladislav Bolkhovitin
e7429fd16e
Minor fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@628 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-01-04 16:12:56 +00:00
Vladislav Bolkhovitin
9f2ac56d74
Fixed problem with KERN_CONT absent in some vendor kernels
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@627 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-30 10:37:07 +00:00
Vladislav Bolkhovitin
4d6896745e
READ POSITION command's constants cleanup, since LONG_BIT conflicts with constant defined in /usr/include/bits/xopen_lim.h
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@626 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-26 17:49:27 +00:00
Vladislav Bolkhovitin
968475e2dc
Obsolete TODO removed
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@625 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-26 17:42:21 +00:00
Vladislav Bolkhovitin
5026d92ad0
Access control docs updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@624 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-26 17:40:30 +00:00
Mark Buechler
b4c37abdb2
- Fixed a removeDevice() case when using -ForceConfig. Spotted by Ondrej Palkovsky.
...
- SCST.pm: Cosmetic changes to error messages - include the handler name.
- SCST.pm: Quote handlers, handler IOs, devices, users and groups in error messages.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@623 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-18 17:30:37 +00:00
Vladislav Bolkhovitin
d30fbf8e66
Set memory limits according to LOWMEM, not TOTALMEM
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@622 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-18 16:50:43 +00:00
Vladislav Bolkhovitin
c1fa6b6258
Cleanup: dev_serialized deleted, because it dublicates dev_double_ua_possible
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@621 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-18 16:41:26 +00:00
Mark Buechler
40e56edbbd
- Cosmetic fixes by Witold Kowolik and increment version.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@620 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-18 16:11:32 +00:00
Mark Buechler
c7fafb82ab
- Fixed enabling/disabling targets. Spotted by Witold Kowolik.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@619 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-18 16:05:55 +00:00
Mark Buechler
1d168fae23
- Fix a check in SCST::removeUser(), spotted by Witold Kowolik.
...
- Changed a few returns to 1 instead of $TRUE since really they're
int returns and not boolean.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@618 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-18 16:00:34 +00:00
Vladislav Bolkhovitin
3ee7fc1e44
.26 changed to .27 to stop confusing too observant people :)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@617 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-11 14:30:40 +00:00
Vladislav Bolkhovitin
de25580abb
Checkpatch fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@616 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-10 15:55:16 +00:00
Vladislav Bolkhovitin
30e75c38b3
Trailing whitespace fixed
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@615 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-10 12:05:17 +00:00
Vladislav Bolkhovitin
41c3515516
- Memory barriers cleanup. Comments for them improved
...
- Small docs update
- srpt/README_in-tree added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@614 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-10 10:55:01 +00:00
Mark Buechler
76d0a69737
- Added patch my Witold Kowolik to allow enable/disable of qla_isp cards.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@613 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-09 18:57:32 +00:00
Mark Buechler
d530e39e3a
- Applied patch from Witold Kowolik with modifications,
...
simplifies/fixes option parsing.
- Added new REMOVABLE option.
- Allow options to be specified in lowercase.
- Misc. fixes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@612 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-09 18:28:29 +00:00
Bart Van Assche
4a0a3e01e9
Split generated patch files further:
...
- Left out iscsi_scst_itf_ver.h since it is a generated file.
- README.qla2x00t has been put in a separate patch, qla2x00t-doc.diff.
- scst_proc.diff has been scst_core.diff.
- scst_vdisk.diff has been split from scst_dev_handlers.diff.
- scst_dev_handlers.diff has been renamed into scst_passthrough.diff.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@611 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-09 07:50:44 +00:00
Bart Van Assche
d7d7dc7af6
Cleanup.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@610 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-08 12:58:09 +00:00
Bart Van Assche
8dadf2c789
Made "make htmldocs" the last step.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@609 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-06 16:28:05 +00:00
Bart Van Assche
e2ef5de20c
Option -p now generates three extra patches: scst_debug.diff, scst_sgv.diff and scst_user.diff.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@608 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-06 16:27:19 +00:00
Bart Van Assche
f1b811e8dc
Fixed typo.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@607 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-06 14:04:29 +00:00
Bart Van Assche
a4f41bca01
Added 'make htmldocs'. Changed default kernel version from 2.6.27.7 into 2.6.27.8.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@606 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-06 13:39:16 +00:00
Bart Van Assche
86d4199dcb
Modified the way in which the dummy mpt patch is suppressed, such that the run-regression-tests script works again.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@605 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-06 13:37:43 +00:00
Vladislav Bolkhovitin
0e845189f9
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@604 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-05 13:56:43 +00:00
Vladislav Bolkhovitin
f9e6ba44ad
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@603 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-05 13:54:00 +00:00
Vladislav Bolkhovitin
7ba9ab3f9c
Various changes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@602 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-05 13:48:10 +00:00
Bart Van Assche
e01c2da60f
Fixed a sparse warning.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@601 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-04 21:29:24 +00:00
Bart Van Assche
5567479e23
- Removed command-line option -l -- scst_local is now unconditionally
...
included in the generated patch output.
- Added command-line option -p <patchdir>, which allows to generate a
set of patches instead of one big patch.
- New feature: by setting the environment variable SIGNED_OFF_BY, the
Signed-off-by line is filled in.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@600 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-04 21:21:05 +00:00
Vladislav Bolkhovitin
c3ce35ab76
It was brocken. Fixed.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@599 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-04 19:31:46 +00:00
Vladislav Bolkhovitin
c062b11e42
Added README for scst_local
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@598 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-04 19:13:02 +00:00
Vladislav Bolkhovitin
089b7c391d
Cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@597 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-04 18:20:22 +00:00
Vladislav Bolkhovitin
cba6490e82
Until now I had been using the latest git version of sparse (August 26, 2008).
...
Apparently not all messages reported by this version are correct. So I switched
back to the last released sparse version (0.4.1). The patch below fixes all
errors and warnings reported by sparse 0.4.1 on the SCST source code.
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@596 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-04 18:00:51 +00:00
Bart Van Assche
52fae86a01
Added 'make headers_check', 'make checkstack' and 'make namespacecheck'.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@595 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-03 18:29:50 +00:00
Vladislav Bolkhovitin
26cde4de56
Make soft IRQ context default
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@594 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-03 18:01:42 +00:00
Vladislav Bolkhovitin
e7e7c386f9
Cleanups after "make namespacecheck"
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@593 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-03 11:59:41 +00:00
Vladislav Bolkhovitin
0961dd7433
- Patch from Richard Sharpe <realrichardsharpe@gmail.com> to fix an unterminated macro call and add a semicolon to please
...
the compiler in an ifdef block.
- Memory leak fixed on error path in scst_local
- Docs cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@592 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-01 18:36:54 +00:00
Richard Sharpe
bd3cef926e
Some minor fixups to the doc to make it more correct.
...
My previous commit was tested against 2.6.24 and 2.6.26.5 prior to the commit.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@591 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-01 00:55:56 +00:00
Richard Sharpe
4c90106577
Fix a problem on kernels older than 2.6.25 where the symbol SCSI_MAX_SG_SEGMENTS
...
is not available. Define it if it is not already defined.
Also fix a few minor English issues.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@590 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-01 00:42:02 +00:00
Vladislav Bolkhovitin
7f87aa16a3
Small docs update
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@589 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-11-29 17:00:15 +00:00
Vladislav Bolkhovitin
2ceda4a4c2
alloc_io_context renamed to export_alloc_io_context
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@588 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-11-28 17:19:29 +00:00
Vladislav Bolkhovitin
1cabaea296
- Performance increase
...
- Cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@587 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-11-28 17:15:17 +00:00
Vladislav Bolkhovitin
9013ab1315
Signed/unsigned cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@586 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-11-28 16:11:51 +00:00
Vladislav Bolkhovitin
c9bdcb7c70
Fixing compilation warning when compiling the code with -Wcast-qual.
...
The casting from (const uint8_t *) to (uint8_t *) is not really necessary.
Signed-off-by: Dotan Barak <dotanba@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@585 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-11-26 19:03:41 +00:00
Vladislav Bolkhovitin
9183709081
There are two remaining printk() statements on which checkpatch warns that the
...
KERN_ facility level is missing. Algthough these warnings are false positives,
I have developed a patch to suppress these warnings.
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@584 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-11-26 19:00:23 +00:00
Vladislav Bolkhovitin
61c0d1167f
- Now task_mgmt_fn() callback called for TARGET RESET and NEXUS LOSS only once for tgt_dev, which belongs to the session, from which the corresponding request came
...
- Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@583 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-11-25 16:44:24 +00:00