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

Miquel van Smoorenburg (
10 Nov 1997 13:00:01 +0100

In article <>,
Benjamin C.R. LaHaise <> wrote:
>On 9 Nov 1997, Miquel van Smoorenburg wrote:
>> In article <644all$73g$>,
>> Miquel van Smoorenburg <> 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

>> 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]


   Miquel van      | Cistron Internet Services   --    Alphen aan den Rijn.
   Smoorenburg,    | |       PTT's Het Net: Surfen in de gootsteen!	<*>