* [Bug 111891] New: access to file does not change access time to folders above up to /(root)
@ 2016-02-04 14:42 bugzilla-daemon
2016-02-05 2:38 ` [Bug 111891] " bugzilla-daemon
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-02-04 14:42 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=111891
Bug ID: 111891
Summary: access to file does not change access time to folders
above up to /(root)
Product: File System
Version: 2.5
Kernel Version: 4.1.15
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ext4
Assignee: fs_ext4@kernel-bugs.osdl.org
Reporter: armin_mohring@web.de
Regression: No
Ext4 with relatime mount option.
Access to file e.g.: /home/armin/documents/abc (file)
does lead into the following:
The access time of the /home directory is not changed, but should be.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 111891] access to file does not change access time to folders above up to /(root)
2016-02-04 14:42 [Bug 111891] New: access to file does not change access time to folders above up to /(root) bugzilla-daemon
@ 2016-02-05 2:38 ` bugzilla-daemon
2016-02-05 2:58 ` bugzilla-daemon
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-02-05 2:38 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=111891
Andreas Dilger <adilger.kernelbugzilla@dilger.ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adilger.kernelbugzilla@dilg
| |er.ca
--- Comment #1 from Andreas Dilger <adilger.kernelbugzilla@dilger.ca> ---
I'm not sure where you got the idea that the access time of all parent
directories should be changed, but that isn't how POSIX works. Only the access
time of the file will be modified, otherwise there would be a huge amount of
overhead (e.g. maybe dozens of disk writes) for every file access.
Also, most filesystems have no way of determining the parent directories for a
given file, and there may be multiple parent directories for a single file
(hard links), and it wouldn't make sense to update all of those directories, so
this is also impractical to implement for most filesystems.
People have enough problems with atime without making it even more expensive,
and relatime is already reducing the number of cases where atime is updated
significantly.
Seems I cannot close this bug (Ted, can you give me permission for this?), but
it should be closed as "not a bug".
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 111891] access to file does not change access time to folders above up to /(root)
2016-02-04 14:42 [Bug 111891] New: access to file does not change access time to folders above up to /(root) bugzilla-daemon
2016-02-05 2:38 ` [Bug 111891] " bugzilla-daemon
@ 2016-02-05 2:58 ` bugzilla-daemon
2016-02-05 8:31 ` bugzilla-daemon
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-02-05 2:58 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=111891
Armin Mohring <armin_mohring@web.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WILL_NOT_FIX
--- Comment #2 from Armin Mohring <armin_mohring@web.de> ---
I thought it would be a good idea to change this behaviour.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 111891] access to file does not change access time to folders above up to /(root)
2016-02-04 14:42 [Bug 111891] New: access to file does not change access time to folders above up to /(root) bugzilla-daemon
2016-02-05 2:38 ` [Bug 111891] " bugzilla-daemon
2016-02-05 2:58 ` bugzilla-daemon
@ 2016-02-05 8:31 ` bugzilla-daemon
2016-02-05 20:36 ` bugzilla-daemon
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-02-05 8:31 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=111891
--- Comment #3 from Armin Mohring <armin_mohring@web.de> ---
I think, only symbolic links should be used.
The parent directory is given by the directory tree itself. Stored in a tree.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 111891] access to file does not change access time to folders above up to /(root)
2016-02-04 14:42 [Bug 111891] New: access to file does not change access time to folders above up to /(root) bugzilla-daemon
` (2 preceding siblings ...)
2016-02-05 8:31 ` bugzilla-daemon
@ 2016-02-05 20:36 ` bugzilla-daemon
2016-02-05 20:39 ` bugzilla-daemon
2016-02-07 9:59 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-02-05 20:36 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=111891
Theodore Tso <tytso@mit.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
CC| |tytso@mit.edu
Resolution|WILL_NOT_FIX |INVALID
--- Comment #4 from Theodore Tso <tytso@mit.edu> ---
Andreas, I don't have access to change the access controls. We need to ask the
bugzilla.kernel.org admins to add you to the appropriate ACL.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 111891] access to file does not change access time to folders above up to /(root)
2016-02-04 14:42 [Bug 111891] New: access to file does not change access time to folders above up to /(root) bugzilla-daemon
` (3 preceding siblings ...)
2016-02-05 20:36 ` bugzilla-daemon
@ 2016-02-05 20:39 ` bugzilla-daemon
2016-02-07 9:59 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-02-05 20:39 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=111891
--- Comment #5 from Armin Mohring <armin_mohring@web.de> ---
The additional write amount is not so big as expected.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 111891] access to file does not change access time to folders above up to /(root)
2016-02-04 14:42 [Bug 111891] New: access to file does not change access time to folders above up to /(root) bugzilla-daemon
` (4 preceding siblings ...)
2016-02-05 20:39 ` bugzilla-daemon
@ 2016-02-07 9:59 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-02-07 9:59 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=111891
--- Comment #6 from Armin Mohring <armin_mohring@web.de> ---
Just backtrace the directory tree.
Modern firesystems use trees for storing the directory information.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-02-07 9:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04 14:42 [Bug 111891] New: access to file does not change access time to folders above up to /(root) bugzilla-daemon
2016-02-05 2:38 ` [Bug 111891] " bugzilla-daemon
2016-02-05 2:58 ` bugzilla-daemon
2016-02-05 8:31 ` bugzilla-daemon
2016-02-05 20:36 ` bugzilla-daemon
2016-02-05 20:39 ` bugzilla-daemon
2016-02-07 9:59 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).