The patch titled From: Yiwen Jiang <jiangyiwen@xxxxxxxxxx> has been added to the -mm tree. Its filename is fs-9p-dont-set-sb_noatime-by-default.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/fs-9p-dont-set-sb_noatime-by-default.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/fs-9p-dont-set-sb_noatime-by-default.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Yiwen Jiang <jiangyiwen@xxxxxxxxxx> Subject: [PATCH] fs/9p: don't set SB_NOATIME by default When the user uses some syscall, for example mmap(v9fs_file_mmap), it will not update atime even if user's was set mnt_flags without MNT_NOATIME, because v9fs defaults to settine SB_NOATIME in v9fs_set_super. For supporting access time updating when the user mounts with relatime, we should not set SB_NOATIME by default. Link: http://lkml.kernel.org/r/5AB9A377.6080906@xxxxxxxxxx Signed-off-by: Yiwen Jiang <jiangyiwen@xxxxxxxxxx> Reviewed-by: Greg Kurz <groug@xxxxxxxx> Cc: Eric Van Hensbergen <ericvh@xxxxxxxxx> Cc: Ron Minnich <rminnich@xxxxxxxxxx> Cc: Latchesar Ionkov <lucho@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/9p/vfs_super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/9p/vfs_super.c~fs-9p-dont-set-sb_noatime-by-default fs/9p/vfs_super.c --- a/fs/9p/vfs_super.c~fs-9p-dont-set-sb_noatime-by-default +++ a/fs/9p/vfs_super.c @@ -94,7 +94,7 @@ v9fs_fill_super(struct super_block *sb, if (v9ses->cache) sb->s_bdi->ra_pages = (VM_MAX_READAHEAD * 1024)/PAGE_SIZE; - sb->s_flags |= SB_ACTIVE | SB_DIRSYNC | SB_NOATIME; + sb->s_flags |= SB_ACTIVE | SB_DIRSYNC; if (!v9ses->cache) sb->s_flags |= SB_SYNCHRONOUS; _ Patches currently in -mm which might be from jiangyiwen@xxxxxxxxxx are fs-9p-dont-set-sb_noatime-by-default.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html