From owner-freebsd-current Tue May 18 9:21:19 1999 Delivered-To: freebsd-current@freebsd.org Received: from dingo.cdrom.com (castles506.castles.com [208.214.165.70]) by hub.freebsd.org (Postfix) with ESMTP id 3276915421 for ; Tue, 18 May 1999 09:21:13 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id JAA03981; Tue, 18 May 1999 09:16:59 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199905181616.JAA03981@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Brian Feldman Cc: Soren Schmidt , current@FreeBSD.ORG Subject: Re: ATA and afd (LS-120): got it WORKING! In-reply-to: Your message of "Tue, 18 May 1999 06:43:10 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Tue, 18 May 1999 09:16:59 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > = > No, it does not work at all with that maximum set. I'm using the disk t= o hold > an FFS filesystem, and mounting it, BTW. See, in the old driver, it lim= ited > the transfer, but it ALSO queued the rest of the transfer. AFD doesn't,= and > I can tell this because I get random parts of kernel memory intersperse= d with > my files (that's the corruption), so I know all of the buffer is not be= ing > filled. You need to queue the rest of the transfer too. I wrote the original code for this in wfd, and it requeues the transfer for just this reason; the layer above doesn't retry the block operation for the remaining residual. I'm not sure this is an error; it's too long since I looked at the code, but I think there are some bad things that can happen (or were suggested might happen) if you persist in retrying the physical I/O. -- = \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message