Re: linux-2.0.32 + ben-inode.diff hangs on NFS

Miquel van Smoorenburg (miquels@cistron.nl)
10 Nov 1997 13:00:01 +0100


In article <Pine.LNX.3.95.971109142505.26955B-100000@as200.spellcast.com>,
Benjamin C.R. LaHaise <blah@kvack.org> wrote:
>On 9 Nov 1997, Miquel van Smoorenburg wrote:
>
>> In article <644all$73g$1@defiant.cistron.nl>,
>> Miquel van Smoorenburg <miquels@cistron.nl> wrote:
>> >I'm running linux-2.0.32-1 + the ben-inode.diff on one of our machines.
>> >Some processes start to hang in state `D' on NFS access.
>> >
>> [..]
>> >Seems they are stuck in wait_on_inode. So this is probably a bug in the
>> >ben-inode.diff...
>
>Ok, found it - nfs_put_inode in doing the sillyrename cleanup ends up
>doing an iget on the inode. The patch below 'll fix it.

Okay, I'll try it later today (together with the other 2 patches you
posted).

>> It just got worse - I tried to revert to a "plain" 2.0.32-1, so compiled
>> one (on another machine), installed it but even lilo now hangs in state D.
>> Tried "sync" .. also hangs. Oops - hard reboot required I'm afraid. We'll
>> see what happens with 2.0.32-1 vanilla.
>
>Was this with a process already in state D? If so that should explain it
>- sync'ing also does a wait_on_inode. Otherwise, I'm curious...

Yep, that was with several processes (all accessing NFS files) already
in state D. Then lilo got hung, but I assume it also calls sync()
[strace lilo .. yep]

Mike.

-- 
   Miquel van      | Cistron Internet Services   --    Alphen aan den Rijn.
   Smoorenburg,    | mailto:info@cistron.nl          http://www.cistron.nl/
miquels@cistron.nl |       PTT's Het Net: Surfen in de gootsteen!	<*>