[Bug 6943] linux-kernel-header: O_NOATIME needed for lvm

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Sat Feb 26 14:45:54 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=6943
Ubuntu | linux-kernel-headers





------- Additional Comments From debzilla at ubuntu.com  2005-02-26 14:45 UTC -------
Message-ID: <20050226140844.GA28912 at wavehammer.waldi.eu.org>
Date: Sat, 26 Feb 2005 15:08:44 +0100
From: Bastian Blank <waldi at debian.org>
To: 297010 at bugs.debian.org
Cc: control at bugs.debian.org
Subject: Re: Bug#297010: linux-kernel-header: O_NOATIME needed for lvm

--uZ3hkaAS1mZxFaxD
Content-Type: multipart/mixed; boundary="45Z9DzgjV8m4Oswq"
Content-Disposition: inline


--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

tags 297010 patch
thanks

The attached patch updates asm-*/fcntl.h to the versions in 2.6.10 which
includes O_NOATIME.

Bastian

--=20
	"That unit is a woman."
	"A mass of conflicting impulses."
		-- Spock and Nomad, "The Changeling", stardate 3541.9

--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=utf-8
Content-Description: diff
Content-Disposition: attachment; filename=out
Content-Transfer-Encoding: quoted-printable

diff -u linux-kernel-headers-2.5.999-test7-bk/debian/changelog linux-kernel=
-headers-2.5.999-test7-bk/debian/changelog
--- linux-kernel-headers-2.5.999-test7-bk/debian/changelog
+++ linux-kernel-headers-2.5.999-test7-bk/debian/changelog
@@ -1,3 +1,9 @@
+linux-kernel-headers (2.5.999-test7-bk-17.unrelease.1) UNRELEASED; urgency=
=3Dlow
+
+  * Update asm*/fcntl.h to include O_NOATIME. (closes: #xxxxxx)
+
+ -- Bastian Blank <waldi at debian.org>  Sat, 26 Feb 2005 14:49:36 +0100
+
 linux-kernel-headers (2.5.999-test7-bk-17) unstable; urgency=3Dlow
=20
   * GOTO Masanori <gotom at debian.org>
only in patch2:
unchanged:
--- linux-kernel-headers-2.5.999-test7-bk.orig/debian/patches/asm-fcntl.pat=
ch
+++ linux-kernel-headers-2.5.999-test7-bk/debian/patches/asm-fcntl.patch
@@ -0,0 +1,212 @@
+diff -ur test.orig/include/asm-alpha/fcntl.h test/include/asm-alpha/fcntl.h
+--- test.orig/include/asm-alpha/fcntl.h	2003-10-15 17:13:06.000000000 +0200
++++ test/include/asm-alpha/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -21,6 +21,7 @@
+ #define O_NOFOLLOW	0200000 /* don't follow links */
+ #define O_LARGEFILE	0400000 /* will be set by the kernel on every open */
+ #define O_DIRECT	02000000 /* direct disk access - should check with OSF/1=
 */
++#define O_NOATIME	04000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-arm/fcntl.h test/include/asm-arm/fcntl.h
+--- test.orig/include/asm-arm/fcntl.h	2003-10-15 17:11:13.000000000 +0200
++++ test/include/asm-arm/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -20,6 +20,7 @@
+ #define O_NOFOLLOW	0100000	/* don't follow links */
+ #define O_DIRECT	0200000	/* direct disk access hint - currently ignored */
+ #define O_LARGEFILE	0400000
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-arm26/fcntl.h test/include/asm-arm26/fcntl.h
+--- test.orig/include/asm-arm26/fcntl.h	2003-10-15 17:14:01.000000000 +0200
++++ test/include/asm-arm26/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -20,6 +20,7 @@
+ #define O_NOFOLLOW	0100000	/* don't follow links */
+ #define O_DIRECT	0200000	/* direct disk access hint - currently ignored */
+ #define O_LARGEFILE	0400000
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-cris/fcntl.h test/include/asm-cris/fcntl.h
+--- test.orig/include/asm-cris/fcntl.h	2003-10-15 17:10:39.000000000 +0200
++++ test/include/asm-cris/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -22,6 +22,7 @@
+ #define O_LARGEFILE	0100000
+ #define O_DIRECTORY	0200000	/* must be a directory */
+ #define O_NOFOLLOW	0400000 /* don't follow links */
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get f_flags */
+diff -ur test.orig/include/asm-h8300/fcntl.h test/include/asm-h8300/fcntl.h
+--- test.orig/include/asm-h8300/fcntl.h	2003-10-15 17:14:04.000000000 +0200
++++ test/include/asm-h8300/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -20,6 +20,7 @@
+ #define O_NOFOLLOW	0100000	/* don't follow links */
+ #define O_DIRECT	0200000	/* direct disk access hint - currently ignored */
+ #define O_LARGEFILE	0400000
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-i386/fcntl.h test/include/asm-i386/fcntl.h
+--- test.orig/include/asm-i386/fcntl.h	2003-10-15 17:12:33.000000000 +0200
++++ test/include/asm-i386/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -20,6 +20,7 @@
+ #define O_LARGEFILE	0100000
+ #define O_DIRECTORY	0200000	/* must be a directory */
+ #define O_NOFOLLOW	0400000 /* don't follow links */
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-ia64/fcntl.h test/include/asm-ia64/fcntl.h
+--- test.orig/include/asm-ia64/fcntl.h	2003-10-15 17:12:33.000000000 +0200
++++ test/include/asm-ia64/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -1,10 +1,10 @@
+ #ifndef _ASM_IA64_FCNTL_H
+ #define _ASM_IA64_FCNTL_H
+ /*
+- * This is mostly compatible with Linux/x86.
++ * Based on <asm-i386/fcntl.h>.
+  *
+- * Copyright (C) 1998-2000 Hewlett-Packard Co
+- * Copyright (C) 1998-2000 David Mosberger-Tang <davidm at hpl.hp.com>
++ * Modified 1998-2000
++ *	David Mosberger-Tang <davidm at hpl.hp.com>, Hewlett-Packard Co.
+  */
+=20
+ /*
+@@ -28,6 +28,7 @@
+ #define O_LARGEFILE	0100000
+ #define O_DIRECTORY	0200000	/* must be a directory */
+ #define O_NOFOLLOW	0400000 /* don't follow links */
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-m68k/fcntl.h test/include/asm-m68k/fcntl.h
+--- test.orig/include/asm-m68k/fcntl.h	2003-10-15 17:11:17.000000000 +0200
++++ test/include/asm-m68k/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -20,6 +20,7 @@
+ #define O_NOFOLLOW	0100000	/* don't follow links */
+ #define O_DIRECT	0200000	/* direct disk access hint - currently ignored */
+ #define O_LARGEFILE	0400000
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-mips/fcntl.h test/include/asm-mips/fcntl.h
+--- test.orig/include/asm-mips/fcntl.h	2003-10-15 17:14:04.000000000 +0200
++++ test/include/asm-mips/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -26,6 +26,7 @@
+ #define O_DIRECT	0x8000	/* direct disk access hint */
+ #define O_DIRECTORY	0x10000	/* must be a directory */
+ #define O_NOFOLLOW	0x20000	/* don't follow links */
++#define O_NOATIME	0x40000
+=20
+ #define O_NDELAY	O_NONBLOCK
+=20
+diff -ur test.orig/include/asm-parisc/fcntl.h test/include/asm-parisc/fcnt=
l.h
+--- test.orig/include/asm-parisc/fcntl.h	2003-10-15 17:12:23.000000000 +02=
00
++++ test/include/asm-parisc/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -19,6 +19,7 @@
+ #define O_NOCTTY	00400000 /* not fcntl */
+ #define O_DSYNC		01000000 /* HPUX only */
+ #define O_RSYNC		02000000 /* HPUX only */
++#define O_NOATIME	04000000
+=20
+ #define FASYNC		00020000 /* fcntl, for BSD compatibility */
+ #define O_DIRECT	00040000 /* direct disk access hint - currently ignored =
*/
+diff -ur test.orig/include/asm-ppc/fcntl.h test/include/asm-ppc/fcntl.h
+--- test.orig/include/asm-ppc/fcntl.h	2003-10-15 17:12:23.000000000 +0200
++++ test/include/asm-ppc/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -20,6 +20,7 @@
+ #define O_NOFOLLOW      0100000	/* don't follow links */
+ #define O_LARGEFILE     0200000
+ #define O_DIRECT	0400000	/* direct disk access hint */
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-ppc64/fcntl.h test/include/asm-ppc64/fcntl.h
+--- test.orig/include/asm-ppc64/fcntl.h	2003-10-15 17:09:57.000000000 +0200
++++ test/include/asm-ppc64/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -27,6 +27,7 @@
+ #define O_NOFOLLOW      0100000	/* don't follow links */
+ #define O_LARGEFILE     0200000
+ #define O_DIRECT	0400000	/* direct disk access hint */
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-s390/fcntl.h test/include/asm-s390/fcntl.h
+--- test.orig/include/asm-s390/fcntl.h	2003-10-15 17:09:46.000000000 +0200
++++ test/include/asm-s390/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -27,6 +27,7 @@
+ #define O_LARGEFILE	0100000
+ #define O_DIRECTORY	0200000	/* must be a directory */
+ #define O_NOFOLLOW	0400000 /* don't follow links */
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-sh/fcntl.h test/include/asm-sh/fcntl.h
+--- test.orig/include/asm-sh/fcntl.h	2003-10-15 17:14:03.000000000 +0200
++++ test/include/asm-sh/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -20,6 +20,7 @@
+ #define O_LARGEFILE	0100000
+ #define O_DIRECTORY	0200000	/* must be a directory */
+ #define O_NOFOLLOW	0400000 /* don't follow links */
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-sparc/fcntl.h test/include/asm-sparc/fcntl.h
+--- test.orig/include/asm-sparc/fcntl.h	2003-10-15 17:14:53.000000000 +0200
++++ test/include/asm-sparc/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -21,6 +21,7 @@
+ #define O_NOFOLLOW	0x20000	/* don't follow links */
+ #define O_LARGEFILE	0x40000
+ #define O_DIRECT        0x100000 /* direct disk access hint */
++#define O_NOATIME	0x200000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-sparc64/fcntl.h test/include/asm-sparc64/fc=
ntl.h
+--- test.orig/include/asm-sparc64/fcntl.h	2003-10-15 17:14:53.000000000 +0=
200
++++ test/include/asm-sparc64/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -21,6 +21,7 @@
+ #define O_NOFOLLOW	0x20000	/* don't follow links */
+ #define O_LARGEFILE	0x40000
+ #define O_DIRECT        0x100000 /* direct disk access hint */
++#define O_NOATIME	0x200000
+=20
+=20
+ #define F_DUPFD		0	/* dup */
+diff -ur test.orig/include/asm-v850/fcntl.h test/include/asm-v850/fcntl.h
+--- test.orig/include/asm-v850/fcntl.h	2003-10-15 17:11:17.000000000 +0200
++++ test/include/asm-v850/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -20,6 +20,7 @@
+ #define O_NOFOLLOW     0100000	/* don't follow links */
+ #define O_DIRECT       0200000	/* direct disk access hint - currently ign=
ored */
+ #define O_LARGEFILE    0400000
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */
+diff -ur test.orig/include/asm-x86_64/fcntl.h test/include/asm-x86_64/fcnt=
l.h
+--- test.orig/include/asm-x86_64/fcntl.h	2003-10-15 17:10:48.000000000 +02=
00
++++ test/include/asm-x86_64/fcntl.h	2005-02-26 14:48:09.000000000 +0100
+@@ -20,6 +20,7 @@
+ #define O_LARGEFILE	0100000
+ #define O_DIRECTORY	0200000	/* must be a directory */
+ #define O_NOFOLLOW	0400000 /* don't follow links */
++#define O_NOATIME	01000000
+=20
+ #define F_DUPFD		0	/* dup */
+ #define F_GETFD		1	/* get close_on_exec */

--45Z9DzgjV8m4Oswq--

--uZ3hkaAS1mZxFaxD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iEYEARECAAYFAkIgguwACgkQnw66O/MvCNHVyQCgjbmqponX0t/8ex2w7WDwu/jL
DeMAn02tC6Y4b/CQG4cCKkf1xfSFwWPO
=c+WF
-----END PGP SIGNATURE-----

--uZ3hkaAS1mZxFaxD--

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kernel-team mailing list