[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-bug
Subject:    [PATCH,HURD] add ST_NOATIME
From:       Pino Toscano <toscano.pino () tiscali ! it>
Date:       2013-05-09 17:20:11
Message-ID: 201305091920.15922.toscano.pino () tiscali ! it
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


Hi,

a simple patch to provide the GNU-specific ST_NOATIME flag for statvfs 
(which is already available on Linux).
Once this patch is accepted, it will follow an Hurd patch to expose this 
attribute in libdiskfs-based translators (such as ext2fs and tmpfs).

Thanks,
-- 
Pino Toscano

["hurd-ST_NOATIME.diff" (text/x-patch)]

Hurd: add ST_NOATIME

2013-05-09  Pino Toscano  <toscano.pino@tiscali.it>

	* sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.

--- a/sysdeps/mach/hurd/bits/statvfs.h
+++ b/sysdeps/mach/hurd/bits/statvfs.h
@@ -87,7 +87,9 @@ enum
   ,
   ST_NOEXEC = 8,
 # define ST_NOEXEC	ST_NOEXEC
-  ST_SYNCHRONOUS = 16
+  ST_SYNCHRONOUS = 16,
 # define ST_SYNCHRONOUS	ST_SYNCHRONOUS
+  ST_NOATIME = 32		/* Do not update access times.  */
+# define ST_NOATIME	ST_NOATIME
 #endif
 };

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic