On Sun, 24 Aug 2014 01:08:53 PM Leen Besselink wrote:

> tip for basically any Linux filesystem, especially on Flash-based storage
> and also btrfs: - use noatime (if you aren't doing that already, don't know
> if that is the default in btrfs)

Since 2.6.30 (5 years old now) the kernel has defaulted to mounting filesystems
with relatime not atime so it's not as bad as it used to be.  This is from the 
mount
manual page.

       relatime
              Update inode access times relative to modify or change time.  
Access time is  only
              updated  if the previous access time was earlier than the current 
modify or change
              time. (Similar to noatime, but doesn't break mutt or other 
applications that  need
              to know if a file has been read since the last time it was 
modified.)

              Since  Linux  2.6.30,  the kernel defaults to the behavior 
provided by this option
              (unless noatime was  specified), and the strictatime option is 
required to  obtain
              traditional  semantics.  In  addition,  since Linux 2.6.30, the 
file's last access
              time is always  updated  if  it  is more than 1 day old.

All the best,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to