Re: [PATCH] O_STREAMING - flag for optimal streaming I/O

From: Erik Andersen (andersen@codepoet.org)
Date: Thu Oct 10 2002 - 17:58:32 EST


On Thu Oct 10, 2002 at 03:50:50PM -0700, Mike Fedyk wrote:
> You are missing the point. If the app thinks that might happen, it
> shouldn't use O_STREAMING.
>
> Though, how do you get around some binary app using O_STREAMING when it
> shouldn't?

LD_PRELOAD to overload open(2) should do the job nicely

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:39 EST