2 This patch will keep the SD from blocking simultaneous Jobs during
5 Apply it to 1.36.0 with:
8 patch -p0 <1.36.0-sd-block.patch
12 Index: src/stored/acquire.c
13 ===================================================================
14 RCS file: /cvsroot/bacula/bacula/src/stored/acquire.c,v
15 retrieving revision 1.74
16 diff -u -r1.74 acquire.c
17 --- src/stored/acquire.c 16 Oct 2004 11:51:32 -0000 1.74
18 +++ src/stored/acquire.c 25 Oct 2004 16:12:46 -0000
21 if (do_mount || recycle) {
22 Dmsg0(190, "Do mount_next_write_vol\n");
23 - if (!mount_next_write_volume(dcr, release)) {
24 + V(mutex); /* don't lock everything during mount */
25 + bool mounted = mount_next_write_volume(dcr, release);
26 + P(mutex); /* re-lock */
28 if (!job_canceled(jcr)) {
29 /* Reduce "noise" -- don't print if job canceled */
30 Jmsg(jcr, M_FATAL, 0, _("Could not ready device \"%s\" for append.\n"),