Commit Graph

2484 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
f518cd150c Let's remove *.orig and *.rej files on extraclean
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3277 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-10 20:07:23 +00:00
Vladislav Bolkhovitin
f1637a55d6 Don't delete sgv_cache.txt on clean
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3276 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-10 15:43:34 +00:00
Vladislav Bolkhovitin
379551685f Web fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3275 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-09 21:32:19 +00:00
Vladislav Bolkhovitin
481b0af259 Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3274 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-09 21:05:03 +00:00
Vladislav Bolkhovitin
47ba7e7795 Docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3273 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-09 20:37:14 +00:00
Vladislav Bolkhovitin
08c235b862 Put comments on the places where they supposed to be. Noticed by Alexey Obitotskiy <alexeyo1@open-e.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3272 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-09 20:21:18 +00:00
Vladislav Bolkhovitin
2324d8831f Let's always explicitly set permissions on installed files.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-09 20:17:06 +00:00
Vladislav Bolkhovitin
c1349526e9 Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3270 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-09 20:11:59 +00:00
Bart Van Assche
e2ab919243 Updated kernel versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3269 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-08 11:30:35 +00:00
Bart Van Assche
5af7db118e SCST core: Factored out common code into scst_tgt_dev_del_free_UA().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3267 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-27 18:27:34 +00:00
Bart Van Assche
2898f77308 Updated kernel versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3266 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-27 11:20:54 +00:00
Bart Van Assche
ce918fa396 Spelling fix (in source code comments): reaquire -> reacquire.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3265 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-27 09:46:41 +00:00
Bart Van Assche
074479ba16 ib_srpt: Fix potential out-of-bounds array access
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3262 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-26 09:48:58 +00:00
Vladislav Bolkhovitin
32ec48443c Disable accepting initiator mode commands if initiator mode not enabled
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3261 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-24 21:15:29 +00:00
Bart Van Assche
d00aaf6732 ib_srpt: Handle fatal errors properly in srpt_xmit_response()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3257 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-24 17:45:22 +00:00
Bart Van Assche
55eed60c59 Keep unit attention list empty flag and the list itself in sync.
Without this patch hundreds of "scst: scst_set_pending_UA:6216:Setting pending UA cmd ..." messages are logged after a LUN has been added or removed.

This patch fixes a bug that was reported by Ido Benda.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3254 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-23 17:08:22 +00:00
Vladislav Bolkhovitin
06249d693b Disable asking firmware for statistic if neither initiator, nor target modes enabled, because otherwise it can get crazy and be recovered only by a power reset.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3253 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-17 20:40:49 +00:00
Vladislav Bolkhovitin
22ebcaa381 Filter out zero port names
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3252 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-15 23:26:27 +00:00
Vladislav Bolkhovitin
34ae7350ff Previous commit was wrong. Here is the correct version of the cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3251 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-14 23:28:45 +00:00
Vladislav Bolkhovitin
87686b6fbc Cleanup: loop_id_2100 is 2100/2200 specific
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3250 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-14 23:17:52 +00:00
Vladislav Bolkhovitin
7f0a738c11 Fix problem with handling internal commands reported by Hiroyuki Sato <hiroysato@gmail.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3248 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-13 17:01:19 +00:00
Vladislav Bolkhovitin
0c80b9888c References to Alpine Linux added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3247 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-11 20:15:35 +00:00
Vladislav Bolkhovitin
b8ec247d29 Minor logging improvement
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3246 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-11 00:52:05 +00:00
Vladislav Bolkhovitin
2a230b19ee Errors reporting cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3245 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-09 22:48:24 +00:00
Vladislav Bolkhovitin
3ee6fec0ba Fix for non-initialized s_id during ABTS handling
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3244 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-01 00:23:25 +00:00
Vladislav Bolkhovitin
d38930733e Cleanup of unused out_sess.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3243 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-31 23:17:23 +00:00
Bart Van Assche
2b1e38261c scst core: Updated scst_unpack_lun() comment because of flat addressing support.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3242 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-29 14:27:48 +00:00
Bart Van Assche
8c61e470c8 Removed sg_copy() test again because it does not work reliably on all Linux distributions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3240 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-29 11:35:11 +00:00
Bart Van Assche
1a3b890e8f Build fixes for kernel 2.6.38.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3239 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-29 11:23:25 +00:00
Bart Van Assche
7325753fda Avoid that make disable_proc/enable_proc triggers a warning about the soft link scstadmin not being found.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3236 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-29 10:31:23 +00:00
Vladislav Bolkhovitin
5e1796cb88 Added processing of scstadmin in disable_proc/enable_proc as suggested by Bryan Mesich <bryan.mesich@ndsu.edu>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3234 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-28 23:55:04 +00:00
Vladislav Bolkhovitin
7cd41efffc Forgotten in the previous commit update of README_in-tree
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3232 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-27 23:15:44 +00:00
Vladislav Bolkhovitin
86d9db6a09 - Since max_tasklet_cmd is now per-CPU, it's better to decrease it to the value ksoftirqd has.
- Docs update



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3231 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-27 23:13:12 +00:00
Andy Yan
0b0d4c725a sync with latest libsas code at function sas_change_queue_depth.
Fixed a compile warning.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3230 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-27 02:03:24 +00:00
Vladislav Bolkhovitin
4da198c5c4 Make q24_send_busy() a bit more reliable
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3229 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-21 13:11:30 +00:00
Vladislav Bolkhovitin
8d0f61f71a Call of scst_nexus_loss() here is wrong and not needed, because it will be called later in scst_mgmt_affected_cmds_done()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3228 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-18 14:05:56 +00:00
Vladislav Bolkhovitin
a31a60aebf Minor versions handling improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3227 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-17 12:44:34 +00:00
Vladislav Bolkhovitin
1bfe442750 Minor docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3226 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-14 22:37:29 +00:00
Vladislav Bolkhovitin
7f0d5d1397 Copyrights updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3225 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-14 21:43:28 +00:00
Vladislav Bolkhovitin
65a563dcb0 Emulex page updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3224 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-14 21:33:34 +00:00
Vladislav Bolkhovitin
b268f18a4e 2.0.0.1 release added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3223 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-14 21:06:44 +00:00
Vladislav Bolkhovitin
cbb7de538f More performance and scalability improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3222 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-14 21:05:25 +00:00
Vladislav Bolkhovitin
3cf855fe00 Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3220 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-14 21:01:54 +00:00
Bart Van Assche
ec22199d8b Try to obtain kernel patches from the longterm directory if not found in the usual directory.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3219 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-14 17:05:30 +00:00
Vladislav Bolkhovitin
9a2c977e68 Per sessions commands stats implemented based on patch from Steven Umbehocker <steven.umbehocker@osnexus.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3218 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-14 11:51:22 +00:00
Vladislav Bolkhovitin
79c658e0f1 More context fixes and cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3215 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-13 18:56:11 +00:00
Vladislav Bolkhovitin
3aee70c90f - Fix possible incorrect atomic context on exec stages
- Limit max tasklet commands via scst_max_tasklet_cmd global attribute to prevent possible starvation under heavy load and in some cases im
prove performance
 - Logging improvements
 - Docs update
 - Cleanups



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3214 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-13 14:25:09 +00:00
Vladislav Bolkhovitin
dd9ca37b42 Now scst_pre_parse() called in __scst_init_cmd(), so there's no point to call scst_get_cdb_info() once again
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3213 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-13 12:49:33 +00:00
Vladislav Bolkhovitin
dfa288aaa0 Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3212 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-13 12:47:36 +00:00
Vladislav Bolkhovitin
e6d32fb639 Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3211 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-13 12:41:02 +00:00