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

Erik Andersen (andersen@codepoet.org)
Thu, 10 Oct 2002 16:58:32 -0600


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/