|
From: <vl...@us...> - 2014-04-24 02:33:09
|
Revision: 5465
http://sourceforge.net/p/scst/svn/5465
Author: vlnb
Date: 2014-04-24 02:33:07 +0000 (Thu, 24 Apr 2014)
Log Message:
-----------
scst_targ: Clarify a comment
Signed-off-by: Bart Van Assche <bva...@ac...>
Modified Paths:
--------------
trunk/scst/src/scst_targ.c
Modified: trunk/scst/src/scst_targ.c
===================================================================
--- trunk/scst/src/scst_targ.c 2014-04-24 02:30:52 UTC (rev 5464)
+++ trunk/scst/src/scst_targ.c 2014-04-24 02:33:07 UTC (rev 5465)
@@ -1540,7 +1540,10 @@
break;
#endif
- /* Small context optimization */
+ /*
+ * Make sure that the exec phase runs in thread context since
+ * invoking I/O functions from atomic context is not allowed.
+ */
if ((pref_context == SCST_CONTEXT_TASKLET) ||
(pref_context == SCST_CONTEXT_DIRECT_ATOMIC) ||
((pref_context == SCST_CONTEXT_SAME) &&
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|