]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
authorUlrich Drepper <drepper@redhat.com>
Fri, 24 Mar 2006 16:36:38 +0000 (16:36 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 24 Mar 2006 16:36:38 +0000 (16:36 +0000)
sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
sysdeps/unix/sysv/linux/i386/bits/fcntl.h
sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
sysdeps/unix/sysv/linux/s390/bits/fcntl.h
sysdeps/unix/sysv/linux/sh/bits/fcntl.h
sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h

index c4a9b77e2eae9bb5037b266d92f94ca5b8d70245..0f32cec8766db70e28b72f1a3b49138b7f27614f 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux.
-   Copyright (C) 1995-1999, 2000, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1995-2000, 2004, 2005, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -173,6 +173,12 @@ struct flock64
 # define POSIX_FADV_NOREUSE    5 /* Data will be accessed once.  */
 #endif
 
+/* Linux-specific operations for posix_fadvise.  */
+#ifdef __USE_GNU
+# define LINUX_FADV_ASYNC_WRITE        32 /* Start writeout on range.  */
+# define LINUX_FADV_WRITE_WAIT 33 /* Wait upon writeout to range.  */
+#endif
+
 __BEGIN_DECLS
 
 /* Provide kernel hint to read ahead.  */
index 9065825b98bbc69b6e4c9c797a5c72fe6218ab51..8c9159f0fd74489f67cd5e2d958268b56b702f4b 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux.
-   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004
+   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004, 2006
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -180,6 +180,12 @@ struct flock64
 # define POSIX_FADV_NOREUSE    5 /* Data will be accessed once.  */
 #endif
 
+/* Linux-specific operations for posix_fadvise.  */
+#ifdef __USE_GNU
+# define LINUX_FADV_ASYNC_WRITE        32 /* Start writeout on range.  */
+# define LINUX_FADV_WRITE_WAIT 33 /* Wait upon writeout to range.  */
+#endif
+
 __BEGIN_DECLS
 
 /* Provide kernel hint to read ahead.  */
index d330954d48f7c178a3104754eb8dcc8796295ae4..94e534d97f482795bb1d82241a4a944876f81dd5 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux/IA64.
-   Copyright (C) 1999, 2000, 2004 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000, 2004, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -174,6 +174,12 @@ struct flock64
 # define POSIX_FADV_NOREUSE    5 /* Data will be accessed once.  */
 #endif
 
+/* Linux-specific operations for posix_fadvise.  */
+#ifdef __USE_GNU
+# define LINUX_FADV_ASYNC_WRITE        32 /* Start writeout on range.  */
+# define LINUX_FADV_WRITE_WAIT 33 /* Wait upon writeout to range.  */
+#endif
+
 __BEGIN_DECLS
 
 /* Provide kernel hint to read ahead.  */
index 19649c01c7f9202332720e0674ff80ceb1f38046..4e8b61a3946d9c01de79056ebf3db7ffd00f0348 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux/PowerPC.
-   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004
+   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004, 2006
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -180,6 +180,12 @@ struct flock64
 # define POSIX_FADV_NOREUSE    5 /* Data will be accessed once.  */
 #endif
 
+/* Linux-specific operations for posix_fadvise.  */
+#ifdef __USE_GNU
+# define LINUX_FADV_ASYNC_WRITE        32 /* Start writeout on range.  */
+# define LINUX_FADV_WRITE_WAIT 33 /* Wait upon writeout to range.  */
+#endif
+
 __BEGIN_DECLS
 
 /* Provide kernel hint to read ahead.  */
index 8c47077580e33661f886cbe728c9dc19138efe44..a24c36846e74237be0af612bf2f492415982db35 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux.
-   Copyright (C) 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2002, 2004, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -199,6 +199,12 @@ struct flock64
 # endif
 #endif
 
+/* Linux-specific operations for posix_fadvise.  */
+#ifdef __USE_GNU
+# define LINUX_FADV_ASYNC_WRITE        32 /* Start writeout on range.  */
+# define LINUX_FADV_WRITE_WAIT 33 /* Wait upon writeout to range.  */
+#endif
+
 __BEGIN_DECLS
 
 /* Provide kernel hint to read ahead.  */
index 9065825b98bbc69b6e4c9c797a5c72fe6218ab51..8c9159f0fd74489f67cd5e2d958268b56b702f4b 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux.
-   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004
+   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004, 2006
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -180,6 +180,12 @@ struct flock64
 # define POSIX_FADV_NOREUSE    5 /* Data will be accessed once.  */
 #endif
 
+/* Linux-specific operations for posix_fadvise.  */
+#ifdef __USE_GNU
+# define LINUX_FADV_ASYNC_WRITE        32 /* Start writeout on range.  */
+# define LINUX_FADV_WRITE_WAIT 33 /* Wait upon writeout to range.  */
+#endif
+
 __BEGIN_DECLS
 
 /* Provide kernel hint to read ahead.  */
index 5dc8bf32f033fefb7f04c96946a2d31e3e64c13d..b7f46e403cb026f9204acd548b3420beba88bc1a 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux/SPARC.
-   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004
+   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004, 2006
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -199,6 +199,12 @@ struct flock64
 # define POSIX_FADV_NOREUSE    5 /* Data will be accessed once.  */
 #endif
 
+/* Linux-specific operations for posix_fadvise.  */
+#ifdef __USE_GNU
+# define LINUX_FADV_ASYNC_WRITE        32 /* Start writeout on range.  */
+# define LINUX_FADV_WRITE_WAIT 33 /* Wait upon writeout to range.  */
+#endif
+
 __BEGIN_DECLS
 
 /* Provide kernel hint to read ahead.  */
index 9198c70bd49d610cf5e7310a04df873819974ad3..712007c36ccda78d7c3489be9fdf4b567b5c79ae 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux/x86-64.
-   Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002, 2004, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -194,6 +194,12 @@ struct flock64
 # define POSIX_FADV_NOREUSE    5 /* Data will be accessed once.  */
 #endif
 
+/* Linux-specific operations for posix_fadvise.  */
+#ifdef __USE_GNU
+# define LINUX_FADV_ASYNC_WRITE        32 /* Start writeout on range.  */
+# define LINUX_FADV_WRITE_WAIT 33 /* Wait upon writeout to range.  */
+#endif
+
 __BEGIN_DECLS
 
 /* Provide kernel hint to read ahead.  */