Re: [GIT PULL] notification tree - try 37!

From: Andreas Gruenbacher
Date: Tue Aug 17 2010 - 06:01:32 EST


On Tuesday 17 August 2010 11:45:25 Tvrtko Ursulin wrote:
> Why no timeouts? It sounds like a feasible way to work around listeners
> which have stopped working. (Timeout and -ETIME for example to be clear,
> not allowing access).

>From the kernel's point of view, there is no way to guess how long those
timeouts should be. Watching for progress can be implemented in user space
though.

Setting errno to ETIME as a result of trying to access a file is likely to
break some applications which are not prepared to receive this error
condition; we cannot do that.

I'm quite sure that both of these issues have been discussed already.

Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/