[Bug 111891] access to file does not change access time to folders above up to /(root)

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=111891

Andreas Dilger <adilger.kernelbugzilla@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adilger.kernelbugzilla@dilg
                   |                            |er.ca

--- Comment #1 from Andreas Dilger <adilger.kernelbugzilla@xxxxxxxxx> ---
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux