diff options
| author | Xuewen Wang <wangxuewen@kylinos.cn> | 2026-10-16 11:09:57 +0800 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-10-20 18:46:02 +0900 |
| commit | b715537e26684581a1f99b6bd1cc5d43b6d563e1 (patch) | |
| tree | c711a8236ceb5b1d811513d879424465cf3347b1 /scripts/Makefile.thinlto | |
| parent | 89467388e8afc6b55ea7cd38bc1f469df7747db0 (diff) | |
| download | linux-b715537e26684581a1f99b6bd1cc5d43b6d563e1.tar.gz linux-b715537e26684581a1f99b6bd1cc5d43b6d563e1.zip | |
ntfs: support persistent noatime attribute
NTFS currently rejects FS_NOATIME_FL in its fileattr setter. This prevents
users from disabling automatic access-time updates on individual files or
directories with chattr +A.
Store noatime in bit 3 of the private $LINUXFLAGS EA and restore S_NOATIME
when loading an inode. Report and accept FS_NOATIME_FL in the fileattr
callbacks, updating the in-memory flag only after the EA update succeeds.
The VFS then suppresses automatic atime updates for the inode, while
chattr -A restores the mount's atime policy.
Document the new on-disk bit and that newly created children do not inherit
the attribute.
Suggested-by: Baolin Liu <liubaolin@kylinos.cn>
Reviewed-by: Baolin Liu <liubaolin@kylinos.cn>
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Xuewen Wang <wangxuewen@kylinos.cn>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
