From owner-cvs-all Thu Sep 23 1:41:52 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B1E3915910; Thu, 23 Sep 1999 01:41:50 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA53874; Thu, 23 Sep 1999 01:41:49 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Message-Id: <199909230841.BAA53874@freefall.freebsd.org> From: Matt Dillon Date: Thu, 23 Sep 1999 01:41:49 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ccd ccd.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dillon 1999/09/23 01:41:49 PDT Modified files: sys/dev/ccd ccd.c Log: Fix ccdiodone code. The code was using cbp->cb_buf.b_bcount to sum the total amount of I/O issued to determine when all the I/O has completed. This fails when the EOF boundry occurs in the middle of an I/O. Using cbp->cb_buf.b_bufsize works better. Revision Changes Path 1.60 +11 -2 src/sys/dev/ccd/ccd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message