- scheduler: fix bug that broke broadcast jobs (from Kevin)

svn path=/trunk/boinc/; revision=25258
This commit is contained in:
David Anderson 2012-02-14 16:58:18 +00:00
parent 66c904ad59
commit ba04760fee
2 changed files with 55 additions and 49 deletions

View File

@ -1404,12 +1404,12 @@ David 6 Feb 2012
cs_files.cpp cs_files.cpp
David 6 Feb 2012 David 6 Feb 2012
- client: async file stuff. - client: async file stuff.
async decompress/verify seems to be working async decompress/verify seems to be working
client/ client/
async_file.cpp,h async_file.cpp,h
gui_http.cpp gui_http.cpp
Charlie 6 Feb 2012 Charlie 6 Feb 2012
- client: remove "GPU n is OpenCL-capable" messages. They were - client: remove "GPU n is OpenCL-capable" messages. They were
@ -1434,27 +1434,27 @@ David 7 Feb 2012
bolt_refresh.php bolt_refresh.php
David 7 Feb 2012 David 7 Feb 2012
- async file stuff. mostly working. still a few bugs - async file stuff. mostly working. still a few bugs
client/ client/
cs_apps.cpp cs_apps.cpp
http_curl.cpp http_curl.cpp
clientgui/ clientgui/
AccountManagerPropertiesPage.cpp AccountManagerPropertiesPage.cpp
ProjectPropertiesPage.cpp ProjectPropertiesPage.cpp
lib/ lib/
str_util.h str_util.h
David 7 Feb 2012 David 7 Feb 2012
- client: async file stuff - client: async file stuff
- set threshold at 10 MB for doing things asynchronously - set threshold at 10 MB for doing things asynchronously
- don't count VERIFY_PENDING as failure - don't count VERIFY_PENDING as failure
client/ client/
async_file.h async_file.h
client_state.cpp client_state.cpp
client_types.cpp,h client_types.cpp,h
cs_apps.cpp cs_apps.cpp
Charlie 7 Feb 2012 Charlie 7 Feb 2012
- client: Fix bug in setting opencl_device_index. - client: Fix bug in setting opencl_device_index.
@ -1517,15 +1517,15 @@ Rom 8 Feb 2012
vboxwrapper.cpp vboxwrapper.cpp
David 8 Feb 2012 David 8 Feb 2012
- client: bug fix for async file ops: - client: bug fix for async file ops:
set up files in slot dir when starting an app, set up files in slot dir when starting an app,
whether or not it's the first time whether or not it's the first time
client/ client/
app.h app.h
app_control.cpp app_control.cpp
app_start.cpp app_start.cpp
async_file.cpp,h async_file.cpp,h
David 8 Feb 2012 David 8 Feb 2012
- client: on startup, check file size as well as existence - client: on startup, check file size as well as existence
@ -1547,18 +1547,18 @@ David 8 Feb 2012
cs_files.cpp cs_files.cpp
David 8 Feb 2012 David 8 Feb 2012
- client: fixed a bug in procinfo_app() that would cause processes - client: fixed a bug in procinfo_app() that would cause processes
to be treated as non-BOINC when they actually are, to be treated as non-BOINC when they actually are,
thus falsely triggering CPU-busy suspensions thus falsely triggering CPU-busy suspensions
lib/ lib/
procinfo.cpp procinfo.cpp
David 9 Feb 2012 David 9 Feb 2012
- client: only check file size if the FILE_INFO specifies it. - client: only check file size if the FILE_INFO specifies it.
client/ client/
cs_files.cpp cs_files.cpp
David 9 Feb 2012 David 9 Feb 2012
- scheduler: don't send "update GPU driver" messages if - scheduler: don't send "update GPU driver" messages if
@ -1610,17 +1610,17 @@ Charlie 11 Feb 2012
BOINCGUIApp.cpp BOINCGUIApp.cpp
David 12 Feb 2012 David 12 Feb 2012
- client: zero PROJECT::last_upload_start on reset, - client: zero PROJECT::last_upload_start on reset,
so that we can fetch work immediately so that we can fetch work immediately
- client: in PERS_FILE_XFER::create_xfer(), - client: in PERS_FILE_XFER::create_xfer(),
check for already-existing file before seeing we're allowed to start a new xfer check for already-existing file before seeing we're allowed to start a new xfer
- client: in PERS_FILE_XFER::create_xfer(), - client: in PERS_FILE_XFER::create_xfer(),
if an async verify is in progress, mark PERS_FILE_XFER as done. if an async verify is in progress, mark PERS_FILE_XFER as done.
client/ client/
client_state.cpp client_state.cpp
log_flags.cpp log_flags.cpp
pers_file_xfer.cpp pers_file_xfer.cpp
David 12 Feb 2012 David 12 Feb 2012
- storage stuff - storage stuff
@ -1670,3 +1670,9 @@ Charlie 13 Feb 2012
client/ client/
check_security.cpp check_security.cpp
David 14 Feb 2012
- scheduler: fix bug that broke broadcast jobs (from Kevin)
sched/
sched_shmem.cpp

View File

@ -184,7 +184,7 @@ int SCHED_SHMEM::scan_tables() {
} }
n = 0; n = 0;
while (!assignment.enumerate("multi <> 0")) { while (!assignment.enumerate("where multi <> 0")) {
assignments[n++] = assignment; assignments[n++] = assignment;
if (n == MAX_ASSIGNMENTS) { if (n == MAX_ASSIGNMENTS) {
overflow("assignments", "MAX_ASSIGNMENTS"); overflow("assignments", "MAX_ASSIGNMENTS");