From owner-cvs-all Mon Jan 15 16:54: 5 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DD9AB37B6C2; Mon, 15 Jan 2001 16:53:45 -0800 (PST) Received: (from mjacob@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0G0rjK43644; Mon, 15 Jan 2001 16:53:45 -0800 (PST) (envelope-from mjacob) Message-Id: <200101160053.f0G0rjK43644@freefall.freebsd.org> From: Matt Jacob Date: Mon, 15 Jan 2001 16:53:45 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam/scsi scsi_sa.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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