Re: [PATCH] fs, pseudo: Do not update atime for pseudo inodes

2020-06-19 Thread Mel Gorman
On Fri, Jun 19, 2020 at 04:45:09PM +0300, Amir Goldstein wrote: > > proxy measure is the proc fd representations of such inodes which do not > > appear to change once they are created. This patch sets the S_NOATIME > > on inode->i_flags for inodes created by new_inode_pseudo() so that atime > > wil

Re: [PATCH] fs, pseudo: Do not update atime for pseudo inodes

2020-06-19 Thread Amir Goldstein
On Wed, Jun 17, 2020 at 5:53 PM Mel Gorman wrote: > > The kernel uses internal mounts created by kern_mount() and populated > with files with no lookup path by alloc_file_pseudo() for a variety of > reasons. An relevant example is anonymous pipes because every vfs_write > also checks if atime need

[PATCH] fs, pseudo: Do not update atime for pseudo inodes

2020-06-17 Thread Mel Gorman
The kernel uses internal mounts created by kern_mount() and populated with files with no lookup path by alloc_file_pseudo() for a variety of reasons. An relevant example is anonymous pipes because every vfs_write also checks if atime needs to be updated even though it is unnecessary. Most of the re