Re: [PATCH] fs: don't overwrite the nsec field if I_CTIME_QUERIED is already set

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

 



On Fri, Aug 09, 2024 at 09:39:43AM GMT, Jeff Layton wrote:
> When fetching the ctime's nsec value for a stat-like operation, do a
> simple fetch first and avoid the atomic_fetch_or if the flag is already
> set.
> 
> Suggested-by: Mateusz Guzik <mjguzik@xxxxxxxxx>
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
> ---
> I'm running tests on this now, but I don't expect any problems.
> 
> This is based on top of Christian's vfs.mgtime branch. It may be best to
> squash this into 6feb43ecdd8e ("fs: add infrastructure for multigrain
> timestamps").

Squashed it. Can you double-check that things look correct?




[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