Re: slow open() calls and o_nonblock

From: Alan Cox
Date: Mon Jun 04 2007 - 09:44:36 EST


> Now, I'm a userspace guy so I can be pretty dense, but shouldn't a
> call with a nonblocking flag return EAGAIN if its going to take
> anywhere near 415ms?

Violation of causality. We don't know it will block for 415ms until 415ms
have elapsed.

Alan
-
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/