Commit Graph

2248 Commits

Author SHA1 Message Date
Bart Van Assche
daa86ab856 ibmvstgt: PowerPC build fix (svn merge -r2369:2589 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port/ibmvstgt/src/dummy_powerpc_defs.h).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2622 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-06 12:41:54 +00:00
Bart Van Assche
87d0149b49 ibmvstgt: Build and install both ibmvstgt and libsrp (svn merge -r2369:2449 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port/ibmvstgt/Makefile).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2621 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-06 12:40:10 +00:00
Bart Van Assche
38e8997ad8 Moved srp_task_attribute into srp.h (svn merge -r2508:2511 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2620 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-06 11:03:31 +00:00
Bart Van Assche
99830e05e7 svn merge -c2508 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2619 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-06 11:01:34 +00:00
Bart Van Assche
42ea082d08 ibmvstgt: Builds again on RHEL (svn merge -c2398 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2616 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-06 10:30:16 +00:00
Bart Van Assche
a5417c1641 Compilation: Disabled -Wextra on RHEL5 since it triggers too many uninteresting warnings on that platform.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2615 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-06 10:20:16 +00:00
Bart Van Assche
001e95d7c6 Replaced ibmvscsis source code by a more recent version (svn merge -c2585 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2614 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-05 20:35:00 +00:00
Bart Van Assche
902b674235 Added ibmvscsis source code for reference purposes (svn merge -c2552 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2613 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-05 20:33:43 +00:00
Vladislav Bolkhovitin
97b62b57f1 TM handling on 23xx- fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2608 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-05 19:22:49 +00:00
Vladislav Bolkhovitin
8c33147780 - Node name setting added
- qlini_mode "disabled" parameter handling improved

 - Docs updated



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2607 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-05 18:56:54 +00:00
Vladislav Bolkhovitin
0754629ea6 Partially remove implicit ordered commands as a nonsense. It will be replaced by a common waiting facility to wait on depending previous commands to complete.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2604 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-05 11:54:22 +00:00
Vladislav Bolkhovitin
ac45e164b6 Logging cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2597 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-04 19:30:38 +00:00
Vladislav Bolkhovitin
f52189609b A bunch of pending qla2x00t fixes:
- Make initiators discovery more robust

 - Fix mapped SG leaks

 - Docs update

 - Cleanups



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2595 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-04 14:37:40 +00:00
Vladislav Bolkhovitin
faa63a4c99 Docs updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2584 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:34:34 +00:00
Vladislav Bolkhovitin
0b7ece3340 From 8eca3f39c4b11320787f7b216f63214aee8415a9 Mon Sep 17 00:00:00 2001
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
Date: Thu, 22 Jan 2009 09:45:31 -0800
Subject: [PATCH] [SCSI] qla2xxx: Always serialize mailbox command execution.

Original code would incorrectly bypass serialization if the DPC
thread were performing a big-hammer operation (ISP abort).  This
short circuit, though rare, would subsequently stomp on a
secondary thread's mailbox command execution.  Found during
ISP81XX testing.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2583 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:33:06 +00:00
Vladislav Bolkhovitin
b02fc5468e Mainline commit 3c01b4f9fbb43fc911acd33ea7a14ea7a4f9866b:
From: Seokmann Ju <seokmann.ju@qlogic.com>
Date: Thu, 22 Jan 2009 09:45:38 -0800
Subject: [PATCH] [SCSI] qla2xxx: Add checks for a valid fcport in dev-loss-tmo/terminate_rport_io callbacks.

Commit f78badb1ae07e7f8b835ab2ea0b456ed3fc4caf4 ([SCSI] fc
transport: pre-emptively terminate i/o upon dev_loss_tmo timeout)
changed the callback semantics of dev_loss_tmo and
terminate_rport_io such that repeated calls could be made.  This
could result in the the driver using stale (NULLed-out, in
dev_loss_tmo) data from the rport.  Correct this by addint a
simple check to ensure a valid fcport is attached.

Signed-off-by: Seokmann Ju <seokmann.ju@qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2582 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:29:10 +00:00
Vladislav Bolkhovitin
7fbab4729f Revert r2020 to replace it by a better fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2581 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:21:32 +00:00
Vladislav Bolkhovitin
88c09a9bb0 Let's be safe and alway do barrier
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2580 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:05:15 +00:00
Vladislav Bolkhovitin
b259ba00f4 Fix for RESERVE command line
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2579 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 12:43:09 +00:00
Vladislav Bolkhovitin
f537b4e5ef Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2578 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 12:42:10 +00:00
Vladislav Bolkhovitin
a565f89eb4 Don't return SN errors on IMMEDIATE commands
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2575 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-02 20:05:54 +00:00
Vladislav Bolkhovitin
a0c704c8c3 Cleanups and minor locking fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2574 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-02 19:43:19 +00:00
Bart Van Assche
97913313fc svn merge -c2566 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2570 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-02 11:38:46 +00:00
Vladislav Bolkhovitin
9475ffea34 Fixing PRs related flags for some commands as reported by Aleksey Kondratov <alekseyk1@open-e.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2567 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-01 19:19:35 +00:00
Bart Van Assche
0a742c594d Added missing cc-option definition.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2562 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-01 16:25:09 +00:00
Bart Van Assche
714a4da774 iscsi_scst builds again on RHEL (svn merge -c2559 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2560 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-01 15:50:33 +00:00
Bart Van Assche
371ca0c5d4 Renamed libsrpnew.c to libsrp.c.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2545 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-01 08:44:04 +00:00
Bart Van Assche
1a4dc2afa0 Works again.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2522 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-31 10:57:33 +00:00
Bart Van Assche
91aec29858 svn merge -r2369:2520 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port/scripts
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2521 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-31 10:54:36 +00:00
Bart Van Assche
28f40bb2ff Fixed those spelling errors in source code comments that were detected by ispell.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2518 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-31 09:28:14 +00:00
Bart Van Assche
9ffcfc0aa2 generate-kernel-patch: The blank line after TRACE_ENTRY() is now removed too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2505 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-30 13:33:49 +00:00
Bart Van Assche
33d7605cfe Removed trailing whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2499 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-30 09:17:15 +00:00
Bart Van Assche
92a06f70bf The put_page_callback patch applies again on the 2.3.36 kernel.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2494 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-30 08:37:11 +00:00
Bart Van Assche
ce596f6192 Updated kernel versions and added kernel version 2.6.36.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2493 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-30 08:08:19 +00:00
Bart Van Assche
f775812ffc Fixed a sparse complaint: preprocessor directives inside macro arguments are not allowed.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2492 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-30 07:33:51 +00:00
Vladislav Bolkhovitin
e9a57cd875 Enforce max LUNs limitation
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2490 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-29 18:34:48 +00:00
Vladislav Bolkhovitin
34d4e3e693 Fix for Persistent Reservations problem with devices >2TB in size reported by Open-E (Artur Piechocki and Aleksey Kondratov)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2486 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-28 18:40:18 +00:00
Vladislav Bolkhovitin
824cd78924 Fixes for PR problems reported by Gadi Oxman <gadi.oxman@xtremio.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2481 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-27 18:46:58 +00:00
Vladislav Bolkhovitin
784ac1e52e Fix possible crash on access to not existing LUN with CONFIG_SCST_MEASURE_LATENCY enabled reported by ido benda <idombd@gmail.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2472 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-26 12:58:24 +00:00
Vladislav Bolkhovitin
12f4f75a81 Update for 2.6.36 based on patch from Bart Van Assche <bvanassche@acm.org>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2470 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-26 12:30:40 +00:00
Vladislav Bolkhovitin
e1c8e07208 Don't clear UAs on reset
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2465 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-25 18:06:59 +00:00
Vladislav Bolkhovitin
27ed60c19d Let's be safe and always do memory barrier after all *_get().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2462 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-25 13:09:47 +00:00
Vladislav Bolkhovitin
499da51437 Revert r2446 as wrong
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2461 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-25 13:00:20 +00:00
Bart Van Assche
8b248b67c1 ib_srpt: Added a comment.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2459 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-24 18:32:14 +00:00
Bart Van Assche
d07bd65ba1 ib_srpt: Moved a source code comment.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2458 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-24 11:58:34 +00:00
Bart Van Assche
fa49407967 ib_srpt: Test procedure update.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2457 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-24 09:31:03 +00:00
Bart Van Assche
b9c17588fa ib_srpt: Changed queue full message severity level from ERROR to WARNING since this condition is not fatal.
ib_srpt: Micro-optimization: pass the number of bytes that will be sent to ib_dma_sync_single_for_device() instead of the size of the entire DMA buffer.
ib_srpt: Fixed two bugs in the code for tracking the number of elements available in the IB send queue and that could be triggered by a send queue overflow.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2456 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-24 09:30:40 +00:00
Bart Van Assche
172c211176 ib_srpt: Fixed bug in IB send queue overflow handling.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2455 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-23 14:32:15 +00:00
Vladislav Bolkhovitin
86814a9503 Changing SCST objects freeing to be done in their kobjects release() functions as requested by Greg KH in http://lkml.org/lkml/2010/10/14/299
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2446 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-22 17:21:47 +00:00
Vladislav Bolkhovitin
d1745448cf Small thin provisioning improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2445 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-22 13:08:04 +00:00