Vladislav Bolkhovitin
e63bbf37b2
Integration of the QLogic git's qla2x00t into the SCST tree
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5722 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-21 05:18:43 +00:00
Vladislav Bolkhovitin
d45aab69a9
Fix incorrect address computation during receive PDUs preparations
...
Found and fix suggested by Кирилл Тюшев <kirill.tyushev8@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5721 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-21 05:17:47 +00:00
Bart Van Assche
b1fcfe78a3
nightly build: Add kernel version 3.16.1
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5720 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-20 06:57:04 +00:00
Bart Van Assche
12430f9b46
nightly build: Add kernel 3.16 nightly build infrastructure
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5719 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-20 06:55:04 +00:00
Vladislav Bolkhovitin
bc9a96dfeb
Fix Coverity warning of q2t_ctio_to_cmd() dead code
...
Coverity warns that 'handle == Q2T_SKIP_HANDLE' can never occur, because
code preceding the test has masked out a handle bit that would be
required for the test to succeed.
Fix that by extending Q2T_SKIP_HANDLE to incorporate
CTIO_INTERMEDIATE_HANDLE_MARK as well.
Reported-by: Steven J. Magnani <steve@digidescorp.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5718 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-20 02:24:08 +00:00
Vladislav Bolkhovitin
4d937c42ee
Update for kernels 3.16
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5717 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-19 21:52:31 +00:00
Vladislav Bolkhovitin
b63cc69b28
Fix blockio bioset for older kernels, which need explicit bio destructors
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5716 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-15 23:44:33 +00:00
Bart Van Assche
9d48a34117
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5715 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-15 07:49:07 +00:00
Bart Van Assche
127582f5f9
scripts/rebuild-rhel-kernel-rpm: Install more prerequisites
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5714 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-09 11:02:19 +00:00
Bart Van Assche
1268a4bb63
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5713 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-08 10:37:17 +00:00
Bart Van Assche
aed025d87a
scripts/rebuild-rhel-kernel-rpm: Add RHEL 7 support
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5712 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-07 08:38:19 +00:00
Bart Van Assche
3ac099ecaa
Rename the two RHEL 7 scst_exec_req_fifo patches
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5711 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-07 08:12:22 +00:00
Bart Van Assche
e4bcb3738d
RHEL 7: Add scst_exec_req_fifo and put_page_callback patches
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5710 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-07 07:20:08 +00:00
Bart Van Assche
d7b48b3439
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5709 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-06 17:40:30 +00:00
Vladislav Bolkhovitin
e11f0be12f
Minor fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5708 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-30 02:53:07 +00:00
Vladislav Bolkhovitin
ab1eb5dbbc
Follow up for r5704: NO SENSE is also valid sense
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5707 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-30 02:52:26 +00:00
Vladislav Bolkhovitin
bfef652278
Minor logging improvements
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5706 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-30 02:27:10 +00:00
Vladislav Bolkhovitin
75b37becd7
Print initiator and target in the abort messages
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5705 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-28 23:11:14 +00:00
Vladislav Bolkhovitin
138263c323
Internal REQUEST SENSE: NO SENSE is also valid sense
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5704 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-26 00:04:51 +00:00
Vladislav Bolkhovitin
6ab72405fa
Review of host_status handling (pass-through mode)
...
Inspired by Dave Butler <tears.the@gmail.com > and Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5703 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-23 02:49:50 +00:00
Vladislav Bolkhovitin
fbdfa8dd64
Prevent possible collisions between saved PR and mode pages backup files
...
From now on '.' is illegal character in SCST device names
Reported-by Ken Raeburn <raeburn@permabit.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5702 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-23 02:00:06 +00:00
Vladislav Bolkhovitin
209a825360
scst: Make scst_cmd_threads.threads_list locking more fine-grained
...
Introduce a new synchronization object, namely scst_cmd_threads.thr_lock,
to protect scst_cmd_threads.threads_list.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5701 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-22 00:22:06 +00:00
Vladislav Bolkhovitin
9c51087ee8
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5700 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-21 23:04:18 +00:00
Bart Van Assche
4ed35e5a41
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5698 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-20 08:37:58 +00:00
Vladislav Bolkhovitin
4e24f4f5af
scst_vdisk: Micro-optimize the zero-copy check
...
Only evaluate the SCSI command type if virt_dev->zero_copy has been
set instead of always checking the SCSI command type.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5686 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-19 04:13:24 +00:00
Vladislav Bolkhovitin
5a4571354b
scst: Introduce scst_set_thr_cpu_mask()
...
This patch does not change any functionality.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5685 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-19 04:11:39 +00:00
Vladislav Bolkhovitin
ee2b9c3a9d
scst: Clean up scst_process_active_cmd()
...
Since inside scst_process_active_cmd() cmd->state can only change after
cmd has been added back to the command list it is safe to perform the
cmd->state check without holding the command list lock. Hence move the
perform the cmd->state check without holding the command list lock.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5684 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-19 04:08:30 +00:00
Vladislav Bolkhovitin
726be64769
iscsi-scst: Handle data buffers with non-zero offset correctly
...
Start at the proper offset in the receive buffer if sg[0].offset != 0.
Return the proper data to the initiator if sg[0].offset != 0.
This patch reworks trunk r5281, "iscsi-scst: fix offset
calculation", February 13, 2014.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5683 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-19 03:54:33 +00:00
Bart Van Assche
73ab86c615
srpt/README: Fix SLES patch instructions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5682 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-18 09:30:25 +00:00
Bart Van Assche
56fbcf3ce5
srpt/Makefile: SLES + Mellanox OFED build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5681 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-18 09:28:22 +00:00
Bart Van Assche
1ba2b87afa
srpt/Makefile: Remove a superfluous assignment statement
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5680 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-18 09:27:41 +00:00
Bart Van Assche
47e087abb4
ib_srpt: Fix Mellanox OFED build
...
Use the proper include directory when building against Mellanox OFED.
Do not require to remove /lib/modules/$(KVER)/kernel/drivers/infiniband
before building ib_srpt.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5679 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-16 08:29:16 +00:00
Bart Van Assche
bd2625ec1a
scst-devel rpm: Include /usr/include/scst/scst_itf_ver.h
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5678 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-16 05:35:40 +00:00
Vladislav Bolkhovitin
2df2e90317
Install scst_itf_ver.h as well
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5677 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-16 03:27:20 +00:00
Bart Van Assche
71acb70c35
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5676 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-13 07:15:05 +00:00
Vladislav Bolkhovitin
1448cc6c5a
BLOCKIO microoptimization: use per-device biosets
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5675 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-12 00:53:46 +00:00
Bart Van Assche
ba876f77d4
scripts/generate-kernel-patch: Remove trailing whitespace
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5674 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-11 07:54:19 +00:00
Bart Van Assche
586ab2f547
scripts/generate-kernel-patch: Also generate scst-itf-ver.h
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5673 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-11 06:48:49 +00:00
Bart Van Assche
77f6bac7ec
scripts/rebuild-rhel-kernel-rpm: Move code for downloading a RHEL (clone) RPM into a separate file
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5672 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-10 12:29:59 +00:00
Bart Van Assche
296a29b553
scst.spec.in: Create /var/lib/scst/pr and /var/lib/scst/vdev_mode_pages when installing the SCST RPM
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5670 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-10 06:18:58 +00:00
Bart Van Assche
d6346bcfc7
scst/Makefile: Create /var/lib/scst/vdev_mode_pages while installing SCST
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5669 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-10 06:17:57 +00:00
Vladislav Bolkhovitin
3eb2b2bb7e
Make SCST interface compatibility more robust
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5668 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-10 01:00:29 +00:00
Bart Van Assche
56d89d0258
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5667 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-08 15:11:58 +00:00
Bart Van Assche
020f066cc6
scripts/run-regression-tests: Add command-line option -4 (disable IPv6)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5662 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-06 08:02:28 +00:00
Bart Van Assche
bdcba0604a
Make scripts/kernel-functions again compatible with 2.6.x kernels
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5661 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-04 05:39:28 +00:00
Bart Van Assche
b41aed61e3
scripts/generate-patched-kernel: Clean up
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5659 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-03 08:42:08 +00:00
Bart Van Assche
940e4b2f98
scripts/kernel-functions: Handle 3.x.0 kernel versions correctly
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5658 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-03 08:36:48 +00:00
Bart Van Assche
c2d667406d
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5657 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-01 16:46:12 +00:00
Bart Van Assche
c06e1c5a65
scst_vdisk: Fix a checkpatch warning
...
Avoid that checkpatch reports the following warning:
WARNING: static const char * array should probably be static const char * const
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5654 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-01 06:38:13 +00:00
Bart Van Assche
47b5c207f1
nightly build: Correct a kernel version
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5651 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-30 09:18:41 +00:00