Re: [PATCH v2 2/2] relatime: Allow making relatime the default behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 29 November 2008 06:03:08 -0700, Matthew Wilcox wrote:
> 
> That would imply that relatime could be different per-mountpoint.
> 
> I favour not making it configurable at all.

I guess some amount if configuration may be necessary.  If you go back
to the beginning of the thread...

On Wed, 26 November 2008 19:54:57 +0000, Matthew Garrett wrote:
> 
> Allow atime to be updated once per day even with relatime enabled.  This 
> lets utilities like tmpreaper (which deletes files based on last access 
> time) continue working.

...and check the tmpreaper manpage, you will notice that tmpreaper can
be configured as well.  So relatime has a default timeout of T and
tmpreaper is configured to delete files after 1/2 T (never mind what T
might be), the system breaks.  Guessing a value of T that is good enough
for everyone is a complicated business, so one configurable makes sense
imo.

One per mountpoint is rather silly, of course.

Jörn

-- 
Mundie uses a textbook tactic of manipulation: start with some
reasonable talk, and lead the audience to an unreasonable conclusion.
-- Bruce Perens
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux