`relatime` 何时成为默认值?

12 filesystems kernel mount stat

第一个设置relatime为默认挂载选项的Linux 内核版本是什么?

Sté*_*nez 13

我记得更改,但不记得日期。这似乎是又回到2007年根据这篇文章,relatime 2.6.20中是可用的,并且它之后的几个版本成为默认选项(2.6.24)可能。

编辑: man mount /relatime 说 2.6.30。

ChangeLog-2.6.30 开始

commit 0a1c01c9477602ee8b44548a9405b2c1d587b5a2
Author: Matthew Garrett <mjg@redhat.com>
Date:   Thu Mar 26 17:53:14 2009 +0000

Make relatime default

Change the default behaviour of the kernel to use relatime for all
filesystems. This can be overridden with the "strictatime" mount
option.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Run Code Online (Sandbox Code Playgroud)