回复: 回复: [PATCH 2/2] hfs: fix to update ctime after rename

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

 



Hi Slava,

> If I understood correctly "ERROR: access time has changed for file1 after remount" means atime has been changed.

In fact, it seems that it is not the atime that has been changed, but the disk atime that has been not changed. 
The inode in memory has a newer atime, but the atime is not updated to the disk when write_inode is executed(hfs has no atime in disk format).

For ERROR: access time has changed for file1 after remount

Before:
	Access:  2025-05-09 14:05:40
	Modify:  2025-05-09 14:05:38
	Change:  2025-05-09 14:05:38

After umount&mount:
	Access:  2025-05-09 14:05:38		<-- back to mtime
	Modify:  2025-05-09 14:05:38
	Change:  2025-05-09 14:05:38

So we get inconsistent results for atime.

Am I missing something?

Thx,
Yangtao




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux