Commit Graph

2844 Commits

Author SHA1 Message Date
Bart Van Assche
19d462065f scst: Make scst_set_io_context() save the old I/O context (merge r4214 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4722 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 19:11:41 +00:00
Bart Van Assche
cfa0b1e594 SCST README: Fix a typo in an example in the ALUA section (merge r4328 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4721 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 17:48:36 +00:00
Bart Van Assche
8721e53906 scst/README: Fix spelling errors found by aspell (merge r4323 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4720 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 17:43:06 +00:00
Bart Van Assche
fe7faf0e24 Make ib_srpt build with OFED 1.5.3.1 (merge r3519 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4719 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 17:27:37 +00:00
Bart Van Assche
1abb45a085 ib_srpt README: Update performance notes (merge r4508, r4511 and r4514 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4718 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:59:26 +00:00
Bart Van Assche
dfa078d749 ib_srpt: Update README (merge r4502 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4717 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:55:29 +00:00
Bart Van Assche
0c22c21c63 ib_srpt: Document impact of interrupt assignment on fairness (merge r4447 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4716 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:53:22 +00:00
Bart Van Assche
91cd5b1efa ib_srpt: Document P_Key choice (merge r4373 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4715 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:51:55 +00:00
Bart Van Assche
04a6576b81 ib_srpt README: Bring in sync with scstadmin documentation (merge r4352 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4714 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:49:49 +00:00
Bart Van Assche
bbf6184202 ib_srpt: Document LUN masking (merge r4141 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4713 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:44:46 +00:00
Bart Van Assche
c4cedb589d ib_srpt: Remove an unused variable (merge r4554 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4712 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:39:11 +00:00
Bart Van Assche
ea52096ff8 scst_local: Fix a bug in an error path (merge r4658 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4711 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:24:47 +00:00
Bart Van Assche
74d0d8be20 scst_local: Rework scst_local_get_initiator_port_transport_id() to make it easier to read and to verify (merge r4636 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4710 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:22:57 +00:00
Bart Van Assche
8e82ae9d53 scst_local: Remove superfluous casts (merge r4635 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4709 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:20:30 +00:00
Bart Van Assche
0dabf18259 scst_local, RHEL 5: Avoid that AEN handling triggers a deadlock during device removal (merge r4613 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4708 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:17:56 +00:00
Bart Van Assche
4137032bf4 scst_local: scst_local_add_target(): Also set *out_tgt upon failure (merge r4534 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4707 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:14:19 +00:00
Bart Van Assche
9273026e5f scst_local: Fix error handling (merge r4493 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4706 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:10:49 +00:00
Bart Van Assche
2eebac5f56 scst_local: Remove a superfluous if-test (merge r4485 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4705 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:09:45 +00:00
Bart Van Assche
68edb1a296 Copyright updates + iscsi-scst bug fix (merge r4216 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4704 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 14:03:57 +00:00
Bart Van Assche
ae0f286fcc iscsi-scst: Fix a typo in an error message (merge r4251 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4703 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:46:05 +00:00
Bart Van Assche
6054c82490 iscsi-scst: With CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION disabled destroy the iscsi_cmnd_abort_mempool if initialization fails (merge r4208 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4702 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:44:32 +00:00
Bart Van Assche
fa8479a821 iscsi-scst: Do not clear reservations during nexus loss (merge r4546 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4701 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:41:22 +00:00
Bart Van Assche
87fdc2901b iscsi-scst: Fix incorrect error handling (merge r4492 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4700 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:35:09 +00:00
Bart Van Assche
908b0b1ec6 iscsi-scst: Fix possible BUG_ON() on multiple forced commands release (merge r4513 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4699 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:29:20 +00:00
Bart Van Assche
faeb4e4435 iscsi-scst: Fix code for detecting duplicate connections (merge r4680 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4698 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:24:53 +00:00
Bart Van Assche
d3eb1ed610 iscsi-scst: Bring how-to in sync with scstadmin (merge r4302 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4697 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:19:29 +00:00
Bart Van Assche
b4608c470a fcst: Avoid "suspicious RCU usage" warnings with lockdep enabled (merge r4378 and r4381 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4696 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 13:16:18 +00:00
Bart Van Assche
958579fd8b Automate release archive generation (merge r4676, r4677 and r4679 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4695 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 10:04:11 +00:00
Bart Van Assche
7b0e9f7a51 iscsi-scst: Let "make install" install the man pages (merge r4133 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4694 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:59:11 +00:00
Bart Van Assche
a775e00bf2 scstadmin/Makefile: Use chkconfig on RHEL instead of the LSB scripts (merge r4612 from trunk)
chkconfig is installed by default while /usr/lib/lsb/install_initd and
/usr/lib/lsb/remove_initd are not installed by default.


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4693 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:55:48 +00:00
Bart Van Assche
4ce9fbb893 scstadmin/Makefile: Clean up whitespace usage (merge r4611 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4692 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:54:26 +00:00
Bart Van Assche
973745bcba scstadmin/Makefile, Ubuntu: Use update-rc.d instead of the LSB /usr/lib/lsb/remove_initd - the latter is not installed by default (merge r4609 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4691 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:53:18 +00:00
Bart Van Assche
25b37e1640 scstadmin: Add command-line option -no_lip (merge r4474 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4690 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:48:04 +00:00
Bart Van Assche
1dd3cb834d /etc/init.d/scst: Wait up to 30s before giving up trying to unload a kernel module (merge r4608 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4689 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:44:06 +00:00
Bart Van Assche
e48b528b79 /etc/init.d/scst: Introduce character classes and change one tab into a space (merge r4685 and r4686 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4688 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:42:29 +00:00
Bart Van Assche
d5fb1ed147 /etc/init.d/scst: When parsing /etc/scst.conf for "TARGET_DRIVER ... {", accept blanks at the end of the line (merge r4259 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4687 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:34:53 +00:00
Bart Van Assche
bb1b060f6d scstadmin: Fix 0-named groups. (merge r4639 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4683 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 08:58:46 +00:00
Bart Van Assche
9a8b7a5f67 scst: Avoid that scst_adjust_sg() truncates requests above 512 KB (merge r4668 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4674 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-02 18:47:56 +00:00
Bart Van Assche
a3288d27e3 scst: Avoid that setting trace_level triggers an infinite loop (partial merge of trunk r4137)
Avoid that e.g. the following command triggers an infinite loop
echo "value 0x9c" > /sys/kernel/scst_tgt/trace_level

Reported-by: Jin Cheng <jcheng@vmem.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4665 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-27 08:53:40 +00:00
Bart Van Assche
1052aa7bce ib_srpt: Bump version
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4664 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-21 12:09:36 +00:00
Bart Van Assche
88a37b7a25 ib_srpt: Avoid that max_compl_time_ms is zero due to an integer overflow (merge r4662 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4663 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-21 12:05:36 +00:00
Bart Van Assche
ed5db967d8 nightly build: Merge from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4660 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-20 17:58:34 +00:00
Bart Van Assche
4fd2d32b80 scripts: Merge from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4659 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-20 17:57:25 +00:00
Bart Van Assche
6185ae237c Add kernel 3.7 support (merge r4645..4647 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4651 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-18 09:45:35 +00:00
Bart Van Assche
ae741601fb scst: Fix a recently introduced race condition (merge r4491 from trunk)
Make scst_unregister_target() wait again until the session
unregistration callbacks have finished instead of waiting only
until all sessions have been unregistered.


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4650 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-18 09:39:17 +00:00
Bart Van Assche
6b93cb0155 scst: Make extra_tgt_dev_list_entry users hold scst_mutex (merge r4386 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4649 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-18 09:33:24 +00:00
Bart Van Assche
0f7423dca9 scst: Rename scst_session.tgt_priv into sess_tgt_priv to minimize diffs with the trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4648 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-18 09:14:10 +00:00
Bart Van Assche
1f17f29658 qla2x00t: Remove a superfluous check from q2t_remove_target() (merge r4312 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4634 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-28 14:17:32 +00:00
Bart Van Assche
47f66b3bad qla2x00t: Correct q2t_abort_task() (merge r4457 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4633 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-28 14:07:13 +00:00
Bart Van Assche
caf9e827e9 qla2x00t: Eliminate double req_q_cnt checks when there is enough headroom (merge r4135 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4632 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-28 14:02:31 +00:00