PVFS supports a few mount time options, including "noatime". However, this option is being ignored.
applied this hack to confirm:
Index: pvfs2-utils.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/kernel/linux-2.6/pvfs2-utils.c,v
retrieving revision 1.151
diff -a -u -p -r1.151 pvfs2-utils.c
--- pvfs2-utils.c 25 Mar 2008 19:21:22 -0000 1.151
+++ pvfs2-utils.c 23 Apr 2008 14:01:12 -0000
@@ -430,6 +430,13 @@ int pvfs2_inode_getattr(struct inode *in
pvfs2_kernel_op_t *new_op = NULL;
pvfs2_inode_t *pvfs2_inode = NULL;
+ gossip_err("FOO: inode_getattr() called.\n");
+ gossip_err("inode->i_sb->s_flags: %lu.\n", inode->i_sb->s_flags);
+ if(inode->i_sb->s_flags & MS_NOATIME)
+ gossip_err("FOO: inode->i_sb->s_flags include NOATIME.\n");
+ else
+ gossip_err("FOO: inode->i_sb->s_flags DON'T include NOATIME.\n");
+
gossip_debug(GOSSIP_UTILS_DEBUG, "pvfs2_inode_getattr: called on inode %llu\n",
llu(get_handle_from_ino(inode)));
Index: super.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/kernel/linux-2.6/super.c,v
retrieving revision 1.97
diff -a -u -p -r1.97 super.c
--- super.c 19 Feb 2008 17:38:09 -0000 1.97
+++ super.c 23 Apr 2008 14:01:12 -0000
@@ -1066,6 +1066,13 @@ int pvfs2_fill_sb(
sb->s_flags = (sb->s_flags & ~(MS_POSIXACL | MS_NOATIME | MS_NODIRATIME));
}
+ gossip_err("FOO: sb->s_flags: %lu\n", sb->s_flags);
+ if(sb->s_flags & MS_NOATIME)
+ gossip_err("FOO: sb->s_flags include NOATIME.\n");
+ else
+ gossip_err("FOO: sb->s_flags DON'T include NOATIME.\n");
+
+
#if defined(HAVE_GENERIC_GETXATTR) && defined(CONFIG_FS_POSIX_ACL)
/* Hang the xattr handlers off the superblock */
sb->s_xattr = pvfs2_xattr_handlers;
Output in dmesg confirms that -o noatime option is having no affect on the appropriate superblock flags. Suspect that "suid" option is also being ignored.