mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
Minimize logging
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4777 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2350,7 +2350,7 @@ void scst_report_luns_changed(struct scst_acg *acg)
|
||||
|
||||
TRACE_ENTRY();
|
||||
|
||||
TRACE_MGMT_DBG("REPORTED LUNS DATA CHANGED (acg %s)", acg->acg_name);
|
||||
TRACE_DBG("REPORTED LUNS DATA CHANGED (acg %s)", acg->acg_name);
|
||||
|
||||
list_for_each_entry(sess, &acg->acg_sess_list, acg_sess_list_entry) {
|
||||
scst_report_luns_changed_sess(sess);
|
||||
@@ -2467,17 +2467,18 @@ static void scst_check_reassign_sess(struct scst_session *sess)
|
||||
if (sess->shut_phase != SCST_SESS_SPH_READY)
|
||||
goto out;
|
||||
|
||||
TRACE_MGMT_DBG("Checking reassignment for sess %p (initiator %s)",
|
||||
TRACE_DBG("Checking reassignment for sess %p (initiator %s)",
|
||||
sess, sess->initiator_name);
|
||||
|
||||
acg = scst_find_acg(sess);
|
||||
if (acg == sess->acg) {
|
||||
TRACE_MGMT_DBG("No reassignment for sess %p", sess);
|
||||
TRACE_DBG("No reassignment for sess %p", sess);
|
||||
goto out;
|
||||
}
|
||||
|
||||
PRINT_INFO("sess %p will be reassigned from acg %s to acg %s",
|
||||
sess, sess->acg->acg_name, acg->acg_name);
|
||||
PRINT_INFO("sess %p (initiator %s) will be reassigned from acg %s to "
|
||||
"acg %s", sess, sess->initiator_name, sess->acg->acg_name,
|
||||
acg->acg_name);
|
||||
|
||||
old_acg = sess->acg;
|
||||
sess->acg = NULL; /* to catch implicit dependencies earlier */
|
||||
|
||||
@@ -1246,7 +1246,7 @@ EXPORT_SYMBOL_GPL(sgv_pool_free);
|
||||
* Returns NULL for failure.
|
||||
*
|
||||
* Please don't use it for massive commands data buffers, because it
|
||||
* isn't fair and don't accout per device memory limits. Use sgv_pool_alloc()
|
||||
* isn't fair and don't account per device memory limits. Use sgv_pool_alloc()
|
||||
* instead.
|
||||
*/
|
||||
struct scatterlist *scst_alloc_sg(int size, gfp_t gfp_mask, int *count)
|
||||
|
||||
@@ -4443,8 +4443,8 @@ int scst_cmd_thread(void *arg)
|
||||
|
||||
TRACE_ENTRY();
|
||||
|
||||
PRINT_INFO("Processing thread %s (PID %d) started", current->comm,
|
||||
current->pid);
|
||||
TRACE(TRACE_MINOR, "Processing thread %s (PID %d) started",
|
||||
current->comm, current->pid);
|
||||
|
||||
#if 0
|
||||
set_user_nice(current, 10);
|
||||
@@ -4472,8 +4472,8 @@ int scst_cmd_thread(void *arg)
|
||||
|
||||
scst_ioctx_put(p_cmd_threads);
|
||||
|
||||
PRINT_INFO("Processing thread %s (PID %d) finished", current->comm,
|
||||
current->pid);
|
||||
TRACE(TRACE_MINOR, "Processing thread %s (PID %d) finished",
|
||||
current->comm, current->pid);
|
||||
|
||||
TRACE_EXIT();
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user