Re: [RFC][PATCH v3] readahead: introduce O_RANDOM for POSIX_FADV_RANDOM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Wu,

On Mon, 4 Jan 2010 12:50:20 +0800 Wu Fengguang <fengguang.wu@xxxxxxxxx> wrote:
>
> --- linux.orig/include/asm-generic/fcntl.h	2010-01-04 12:39:29.000000000 +0800
> +++ linux/include/asm-generic/fcntl.h	2010-01-04 12:40:11.000000000 +0800
> @@ -80,6 +80,10 @@
>  #define O_NDELAY	O_NONBLOCK
>  #endif
>  
> +#ifndef O_RANDOM
> +#define O_RANDOM	010000000	/* random access pattern hint */
> +#endif

This value conflicts with O_CLOEXEC on alpha and parisc and O_NOATIME on
sparc.

-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgpnoDga6Jucq.pgp
Description: PGP signature


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux