- Fixes a race, which can lead to a hang, if a user space handler with >1 devices gets killed under load
- Fix double free
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@978 d57e44dd-8a1f-0410-8b47-8ef2f437770f
Patch from Smadar Gonen <smadar.gn@gmail.com>
Implements some useful scst_user statistic in /proc
Minor fixes and cleanups
Bart Van Assche <bart.vanassche@gmail.com>:
Whitespace-only changes: fixed two recently introduced checkpatch errors (code should be indented by tabs / trailing whitespace).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@973 d57e44dd-8a1f-0410-8b47-8ef2f437770f
Removed trailing whitespace.
and r952:
On ppc64, gcc 4.4 spews lots of..
drivers/scsi/qla2xxx/qla_def.h:1485:7: warning: "__LITTLE_ENDIAN" is not defined
Signed-off-by: Dave Jones <davej@redhat.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@960 d57e44dd-8a1f-0410-8b47-8ef2f437770f
Fixes issues cased by recent change of cdb_len to unsigned. Reported by Krzysztof Błaszkowski <kb@sysmikro.com.pl>.
Also it adds INIT ELEMENT STATUS WRANGE to the list of known commands.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@865 d57e44dd-8a1f-0410-8b47-8ef2f437770f
- Change in scstadmin/ChangeLog 'since' to 'for' in ChangeLog so the version isn't misleading
- Fixes incorrect initiators.allow matching. Reported and tested by Dimitri Puzin <max@psycast.de>.
- Fixes handling of tab character during parsing of initiators.allow and initiators.deny files
- IET part of the version updated
- TAGS updated
- Comments in scst_targ.c about long ago gone scst_unregister_session_ex() fixed
+
Version updated to 1.0.1.1
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@813 d57e44dd-8a1f-0410-8b47-8ef2f437770f
- Fixes BUG: scheduling while atomic
- Removes nested allocation, because MAX_LOCKDEP_SUBCLASSES isn't sufficiently high in many cases
- Size for mempools for UAs and sense buffers increased
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@797 d57e44dd-8a1f-0410-8b47-8ef2f437770f
We can't mark sess as shutting down in close_conn(), because at that time it might have pending commands. Otherwise, in case of reinstatemen
t it might lead to data corruption, because commands in being reinstated session can be executed after commands in the new session.
Found out by Hari Subramanian <hari@vmware.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@793 d57e44dd-8a1f-0410-8b47-8ef2f437770f
scst_cmd_atomic() -- the 2.6.29 checkpatch script issues a warning about it.
At the same time, the scst_cmd_atomic() comment has been converted to
kernel-doc style. See also Documentation/kernel-doc-nano-HOWTO.txt for more
information.
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@723 d57e44dd-8a1f-0410-8b47-8ef2f437770f
- Improve logging on write access on read-only devices
- Make the same initiator coming through different sessions use shared IO context
- Cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@721 d57e44dd-8a1f-0410-8b47-8ef2f437770f
While writing DKMS support for the SCST and iSCST-SCST kernel modules, I ran
into a (common) problem with regard to out-of-tree build detection. A common
method to detect out-of-tree building is by using the KERNELRELEASE variable.
The usage of this variable poses a problem when using DKMS. DKMS itself uses
the KERNELRELEASE variable to specify the kernel for which the driver to
build. A suggested alternative would to use the PATCHLEVEL variable as part
of the detection mechanism instead. I attached a patch reflecting this
suggested change.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@720 d57e44dd-8a1f-0410-8b47-8ef2f437770f
I replaced all occurences of DISTDIR with DESTDIR and also introduced SBINDIR (and friends) to some other Makefiles.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@719 d57e44dd-8a1f-0410-8b47-8ef2f437770f
checkpatch issues reported by the checkpatch script included with the 2.6.29
kernel and that were not yet reported by the 2.6.28 checkpatch script
(trailing statements should be on the next line / struct should normally be
const).
The patch below has been tested as follows:
- Reran scripts/run-regression-tests -k 2.6.24.7 -k 2.6.25.20 -k 2.6.26.8 -k 2.6.27.21 -k 2.6.28.9 -k 2.6.29 and verified the output.
- Rebuilt, installed and loaded scst, iscsi-scst and srpt as follows:
make -s clean && make -s -C scst install && make -s -C iscsi-scst install && make -s -C srpt install && cd scstadmin && make -s && make -s install && modprobe scst_vdisk && modprobe iscsi-scst && dmesg
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
with minor cleanups and corrections in put_page_callback-2.6.29.patch
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@717 d57e44dd-8a1f-0410-8b47-8ef2f437770f
temporary regression test files.
- Added workaround for the problem that the branch profiling code in the
2.6.29 kernel triggers a huge number of sparse warnings.
- Made sure that all tests print some output, even if successful.
- Improved summarizing of sparse warnings.
- Command-line option -j now works.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@716 d57e44dd-8a1f-0410-8b47-8ef2f437770f
simultaneously).
- scripts/generate-kernel-patch is now only run once instead of three
times per kernel version.
- Context imbalance warnings are no longer filtered from the output of
sparse.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@714 d57e44dd-8a1f-0410-8b47-8ef2f437770f