Re: [patch rfc] towards supporting O_NONBLOCK on regular files

From: Pavel Machek
Date: Sun Oct 03 2004 - 15:15:15 EST


Hi!

> This patch makes an attempt at supporting the O_NONBLOCK flag for regular
> files. It's pretty straight-forward. One limitation is that we still call
> into the readahead code, which I believe can block. However, if we don't
> do this, then an application which only uses non-blocking reads may never
> get it's data.

This looks very nice. Does it mean that aio and friends are instantly obsolete?

Does it have comparable performance to aio?
Pavel


--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

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