Re: Linux/Pro -- clusters

Linus Torvalds
2001-12-06T20:54:56Z

On 6 Dec 2001, Kai Henningsen wrote:
>
> Frankly, format should really have NO timeout. Or possibly a user-
> specified one.

Well, frankly, the interface should be that the user code sends the
command it needs, and waits for it. With no policy in the kernel at all.

Now, for backwards compatibility reasons we cannot do that generically,
and some things (not format, though), may be common enough that the
"library code" to do the normal thing is in the kernel. But on the whole,
the question should not be "how long should the timeout be", but more
along the lines of "how can we make this easy to interface to existing and
new applications _without_ having policy decisions like timeouts and
number of retries".

Linus