Hi,

In reading about the keepatime option and in reading the source, I think
there is a much better way to accomplish this, on Linux at least.

On Linux, since 2.6.8, there is an O_NOATIME flag that can be passed to
open(2).  The open(2) manpage states:

       O_NOATIME
              (Since  Linux  2.6.8)  Do  not  update the file last access time
              (st_atime in the inode) when the file is read(2).  This flag  is
              intended  for  use by indexing or backup programs, where its use
              can significantly reduce the amount of disk activity.  This flag
              may  not  be  effective on all filesystems.  One example is NFS,
              where the server maintains the access time.

I think it would be desirable to support this mechanism over the
keepatime mechanism, which calls utime() to modify the atime and has the
associated problems involving modifying the ctime.

This would also *speed up* rather than slow down backups, since the
filesystem would not have to write updated metadata after each file was
accessed.

-- John



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to