kern/62278: NFS server may not set eof flag when reading last chunk of file

Ian Dowse iedowse at FreeBSD.org
Mon Feb 2 18:34:59 PST 2004


Synopsis: NFS server may not set eof flag when reading last chunk of file

State-Changed-From-To: open->analyzed
State-Changed-By: iedowse
State-Changed-When: Mon Feb 2 18:29:36 PST 2004
State-Changed-Why: 

This has already been fixed in FreeBSD 5.2 and FreeBSD 4.9, but I
think your patch possibly results in more correct behaviour than
the current code (your patch returns eof=true when the request ends
exactly at the end of the file, whereas the current code returns
false but the next read returns 0 bytes with eof=true).


Responsible-Changed-From-To: freebsd-bugs->iedowse
Responsible-Changed-By: iedowse
Responsible-Changed-When: Mon Feb 2 18:29:36 PST 2004
Responsible-Changed-Why: 

I'll take this as a reminder to look at it.

http://www.freebsd.org/cgi/query-pr.cgi?pr=62278


More information about the freebsd-bugs mailing list