Re: still nfs problems [Was: Linux 2.6.37-rc8]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Thursday, December 30, 2010 - 11:50 am

On Thu, Dec 30, 2010 at 10:24 AM, Trond Myklebust
<Trond.Myklebust@netapp.com> wrote:

Umm. Sure there is. Just make sure that you return the uncached entry
to user space, rather than loop forever.

Looping forever in kernel space is a bad idea. How about just changing
the "continue" into a "break" for the "uncached readdir returned
success".

No halting problems, no excuses. There is absolutely _no_ excuse for
an endless loop in kernel mode. Certainly not "the other end is
incompetent".

EVERYBODY is incompetent sometimes. That just means that you must
never trust the other end too much. You can't say "we require the
server to be sane in order not to lock up".

                    Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
still nfs problems [Was: Linux 2.6.37-rc8], Uwe Kleine-König, (Thu Dec 30, 10:14 am)
Re: still nfs problems [Was: Linux 2.6.37-rc8], Linus Torvalds, (Thu Dec 30, 10:57 am)
Re: still nfs problems [Was: Linux 2.6.37-rc8], Trond Myklebust, (Thu Dec 30, 10:59 am)
Re: still nfs problems [Was: Linux 2.6.37-rc8], Trond Myklebust, (Thu Dec 30, 11:24 am)
Re: still nfs problems [Was: Linux 2.6.37-rc8], Linus Torvalds, (Thu Dec 30, 11:50 am)
Re: still nfs problems [Was: Linux 2.6.37-rc8], Uwe Kleine-König, (Thu Dec 30, 12:18 pm)
Re: still nfs problems [Was: Linux 2.6.37-rc8], Trond Myklebust, (Thu Dec 30, 12:25 pm)
Re: still nfs problems [Was: Linux 2.6.37-rc8], Linus Torvalds, (Thu Dec 30, 1:02 pm)
Re: still nfs problems [Was: Linux 2.6.37-rc8], Uwe Kleine-König, (Mon Jan 3, 2:38 pm)
Re: still nfs problems [Was: Linux 2.6.37-rc8], Trond Myklebust, (Mon Jan 3, 5:22 pm)