Date: Mon, 15 Jan 2001 16:53:45 -0800 (PST) From: Matt Jacob <mjacob@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam/scsi scsi_sa.c Message-ID: <200101160053.f0G0rjK43644@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mjacob 2001/01/15 16:53:45 PST
Modified files:
sys/cam/scsi scsi_sa.c
Log:
Use the residual from a spacing operation to try and figure out where
we *really* are.
It should be noted that there is a degenerate case where soft tape
location will be lost (not causing a frozen state- but causing
the loss of reporting fileno/blockno)- that's where you backspace
over a filemark- you stop backspacing as soon as you cross the
filemark, but you have no idea what the record number now is because
you have no idea how many records you are into the file you just
backed into. Such is life.
While I'm at it, also pick up residuals from writing filemarks.
PR: 24222
Revision Changes Path
1.62 +39 -11 src/sys/cam/scsi/scsi_sa.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101160053.f0G0rjK43644>
