summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorXuewen Wang <wangxuewen@kylinos.cn>2026-10-16 11:09:57 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-20 17:28:07 +0900
commitf7b2126f67f1f6de66fbdf4d2e0a78bc1a52502f (patch)
tree95fbbc3947851d6c036d901dc8d4f5b78c3adc41 /scripts/basic
parent1205ab57465810341fb1436bab310cebdfd0ecdc (diff)
downloadlinux-next-f7b2126f67f1f6de66fbdf4d2e0a78bc1a52502f.tar.gz
linux-next-f7b2126f67f1f6de66fbdf4d2e0a78bc1a52502f.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/basic')
0 files changed, 0 insertions, 0 deletions