request for review, patch to specfs to fix EOF condition alignment with buffer

1999-09-21 Thread Internet MailSystem
This is a request for a review. This patch fixes a bug in specfs relating to dealing with the EOF condition of a block device. If the EOF occurs in the middle of a block, specfs was not properly calculating the truncation for the I/O. This problem was first found by Tor. To

Re: request for review, patch to specfs to fix EOF condition alignment with buffer

1999-09-20 Thread Tor . Egge
> This problem was first found by Tor. Tor's example creates > an oddly-sized VN partition and then dd's from it. Without the > patch the dd believes that it can read 2880 sectors. With the > patch it correctly reads the last (truncated) block. Actually, the problem was discus

Re: request for review, patch to specfs to fix EOF condition alignment with buffer

1999-09-20 Thread Poul-Henning Kamp
>Once this patch is committed, the only problem we will have is >in recognizing the write-EOF case, which I will have a >recommendation for after this patch goes in. ...and the lack of error code returns on write. -- Poul-Henning Kamp FreeBSD coreteam member [EMAIL PROT

request for review, patch to specfs to fix EOF condition alignment with buffer

1999-09-20 Thread Matthew Dillon
This is a request for a review. This patch fixes a bug in specfs relating to dealing with the EOF condition of a block device. If the EOF occurs in the middle of a block, specfs was not properly calculating the truncation for the I/O. This problem was first found by Tor. To