From 8f84416ab7e8345bff44f95a8bf7924f9529077d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 2 Feb 2012 00:18:42 +0000 Subject: [PATCH] - scheduler: add log messages to show VM-related request items - fix typos in db_update script svn path=/trunk/boinc/; revision=25183 --- checkin_notes | 9 +++++++++ html/ops/db_update.php | 4 ++-- sched/sched_send.cpp | 9 ++++++++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index 00cf174936..b140d7f9cb 100644 --- a/checkin_notes +++ b/checkin_notes @@ -1239,3 +1239,12 @@ David 31 Jan 2012 sched_types.cpp html/user/ user_search.php + +David 1 Feb 2012 + - scheduler: add log messages to show VM-related request items + - fix typos in db_update script + + sched/ + sched_send.cpp + html/ops/ + db_update.php diff --git a/html/ops/db_update.php b/html/ops/db_update.php index b02f617a45..1c6834c0ae 100755 --- a/html/ops/db_update.php +++ b/html/ops/db_update.php @@ -797,13 +797,13 @@ function update_9_20_2011() { "); } -function_update_1_30_2012() { +function update_1_30_2012() { do_query(" alter table workunit add transitioner_flags tinyint not null "); do_query( - "add index asgn_target(target_type, target_id)" + "alter table assignment add index asgn_target(target_type, target_id)" ); } diff --git a/sched/sched_send.cpp b/sched/sched_send.cpp index d5114fa5ad..91d2dea22b 100644 --- a/sched/sched_send.cpp +++ b/sched/sched_send.cpp @@ -1737,7 +1737,7 @@ void send_work_setup() { ); if (g_wreq->anonymous_platform) { log_messages.printf(MSG_NORMAL, - "Anonymous platform app versions:\n" + "[send] Anonymous platform app versions:\n" ); for (i=0; iclient_app_versions.size(); i++) { CLIENT_APP_VERSION& cav = g_request->client_app_versions[i]; @@ -1752,6 +1752,13 @@ void send_work_setup() { ); } } + log_messages.printf(MSG_NORMAL, + "[send] p_vm_extensions_disabled: %s\n", + g_request->host.p_vm_extensions_disabled?"yes":"no" + ); + log_messages.printf(MSG_NORMAL, + "[send] CPU features: %s\n", g_request->host.p_features + ); } }