Date: Thu, 31 Jul 2014 15:17:02 -0600 From: "Kenneth D. Merry" <ken@FreeBSD.ORG> To: Joerg Wunsch <frebsd-scsi@uriah.heep.sax.de>, freebsd-scsi@freebsd.org Subject: Re: Bacula fails on FreeBSD 10.x / "mt fsf" infinitely proceeds Message-ID: <20140731211702.GA98465@nargothrond.kdm.org> In-Reply-To: <20140731201742.GA4358@uriah.heep.sax.de> References: <20140730153229.GA86368@nargothrond.kdm.org> <20140730191915.9B944267B@uriah.heep.sax.de> <20140730203315.0EED1295B@uriah.heep.sax.de> <20140730204200.4645729B8@uriah.heep.sax.de> <53D95F61.4080701@FreeBSD.org> <20140730215113.GA3564@uriah.heep.sax.de> <20140731035756.GA91452@nargothrond.kdm.org> <20140731060936.GB4095@uriah.heep.sax.de> <20140731091422.GA37239@uriah.heep.sax.de> <20140731201742.GA4358@uriah.heep.sax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 31, 2014 at 22:17:42 +0200, Joerg Wunsch wrote: > As Joerg Wunsch wrote: > > > Next attempt: in saerror(), rather than basing the decision whether > > this status report belongs to a read/write or control operation on > > some CCB flag that needs to be set explicitly, base it on the actual > > command that led to the status report (SA_READ or SA_WRITE > > vs. anything else). A similar decision is already done in saerror(). > > Now, tested for real, too. > > I am content with that patch, and would be willing to commit it. Okay, it looks good to me; go ahead and commit it. > Note that much of the changes there are whitespace changes only since > I removed a switch/case statement where Alexander Motin only left a > single case in, so a large block of code is unindented by one TAB now. > > Here's a typescript of handling a real Bacula tape with the suggested > patch. Great, thanks for tracking this down! Ken -- Kenneth Merry ken@FreeBSD.ORG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140731211702.GA98465>