Re: NFS hangs on 2.1.115

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 16 Aug 1998 19:25:03 +0100 (BST)


> Linus and I put that there. If you let that condition pass then the
> deferred writebacks during close(fd) will try to return from the close
> before finishing in the form of a restartable system call. This
> breaks tons of programs out there, and we decided it was wrong
> behavior so shut it off. See similar code in the deferred writeback
> handling in fs/nfs/write.c and the IS_SOFT macro which is always
> zero. It is part of the same thing.

Oh dear, that isnt going to work. close() needs to be fixed to behave like
SunOS/Solaris where it sleeps until the close completes (Also there is
an EWFLUSH (I think thats the name) close() return on some systems.

Right now you break soft mounts, you break mount to a down host and an
interesting collection of stuff. I'll go undo that hack now I know its just
a botch around a real bug.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html