Date: Tue, 18 May 1999 09:16:59 -0700 From: Mike Smith <mike@smith.net.au> To: Brian Feldman <green@unixhelp.org> Cc: Soren Schmidt <sos@freebsd.dk>, current@FreeBSD.ORG Subject: Re: ATA and afd (LS-120): got it WORKING! Message-ID: <199905181616.JAA03981@dingo.cdrom.com> In-Reply-To: Your message of "Tue, 18 May 1999 06:43:10 EDT." <Pine.BSF.4.10.9905180639410.38838-100000@janus.syracuse.net>
index | next in thread | previous in thread | raw e-mail
> > No, it does not work at all with that maximum set. I'm using the disk to hold > an FFS filesystem, and mounting it, BTW. See, in the old driver, it limited > 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 interspersed with > my files (that's the corruption), so I know all of the buffer is not being > 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 messagehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905181616.JAA03981>
