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

From: Rik van Riel (riel@conectiva.com.br)
Date: Wed Oct 09 2002 - 18:46:07 EST


On Wed, 9 Oct 2002, Andreas Dilger wrote:
> On Oct 09, 2002 10:14 -0400, Robert Love wrote:
> > On Wed, 2002-10-09 at 10:10, Marco Colombo wrote:
> >
> > > > #define O_NOFOLLOW 0400000 /* don't follow links */
> > > > #define O_NOFOLLOW 0x20000 /* don't follow links */
> >
> > No need. See for example O_NOFOLLOW right above. Each architecture can
> > do has it pleases (I wish otherwise, but...).
>
> I would say - if you are picking a new flag that doesn't need to have
> compatibility with any platform-specific existing flag, simply set them
> all high enough so that they are the same on all platforms.

Doesn't really matter, you can't run x86 binaries on MIPS so
you need to recompile anyway.

Source level compatibility is enough for flags like this.

regards,

Rik

-- 
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/		http://distro.conectiva.com/
Current spamtrap:  <a href=mailto:"october@surriel.com">october@surriel.com</a>

- 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:34 EST