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

Erik Andersen (andersen@codepoet.org)
Wed, 9 Oct 2002 20:39:51 -0600


On Thu Oct 10, 2002 at 01:16:41AM +0100, Jamie Lokier wrote:
> Using the _same_ flag on different architectures can simplify the
> kernel source, though. Just imagine, a set of O_* definitions in
> <linux/fcntl.h> instead of them being duplicated, with different
> definitions, throughout <asm-*/fcntl.h>.

That would be wonderful -- except those asm-*/fcntl.h values are
also duplicated in arch specific include/bits/fcntl.h files in
glibc, uClibc, etc and are compiled into zillions of existing
binaries. Change it and you break binary compatibility...
So if your going to have a flag day, you will need to coordinate
that change with a bunch of non-kernel people as well.

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