From: Kern Sibbald Date: Fri, 3 Sep 2010 15:42:39 +0000 (+0200) Subject: Attempt to eliminate waiting on Storage message during restore X-Git-Tag: Release-5.2.1~1128 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a6192047270b944d2321db3165e51905d98d398;p=bacula%2Fbacula Attempt to eliminate waiting on Storage message during restore --- diff --git a/bacula/src/stored/read.c b/bacula/src/stored/read.c index e154f801d0..fc61193b9b 100644 --- a/bacula/src/stored/read.c +++ b/bacula/src/stored/read.c @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2000-2009 Free Software Foundation Europe e.V. + Copyright (C) 2000-2010 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -30,7 +30,6 @@ * * Kern Sibbald, November MM * - * Version $Id$ */ #include "bacula.h" @@ -79,6 +78,7 @@ bool do_read_data(JCR *jcr) /* Tell File daemon we will send data */ fd->fsend(OK_data); + set_jcr_job_status(jcr, JS_Running); ok = read_records(dcr, record_cb, mount_next_read_volume); /* Send end of data to FD */