lkml.org 
[lkml]   [2005]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 4/6] FS_NOATIME for ocfs
OCFS is only in -mm so far, so here's a separate patch for the
FS_NOATIME in ocfs in case this patchkit goes in before ocfs is merged.

Although I think ocfs should still go into 2.6.15 a an additional driver
that stands on it's own..


Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: linux-2.6.15-rc5/fs/ocfs2/super.c
===================================================================
--- linux-2.6.15-rc5.orig/fs/ocfs2/super.c 2005-12-12 18:51:17.000000000 +0100
+++ linux-2.6.15-rc5/fs/ocfs2/super.c 2005-12-13 11:14:40.000000000 +0100
@@ -677,7 +677,7 @@
.kill_sb = kill_block_super, /* set to the generic one
* right now, but do we
* need to change that? */
- .fs_flags = FS_REQUIRES_DEV,
+ .fs_flags = FS_REQUIRES_DEV | FS_NOATIME,
.next = NULL
};

@@ -1226,7 +1226,6 @@
sb->s_fs_info = osb;
sb->s_op = &ocfs2_sops;
sb->s_export_op = &ocfs2_export_ops;
- sb->s_flags |= MS_NOATIME;
/* this is needed to support O_LARGEFILE */
sb->s_maxbytes = ocfs2_max_file_offset(sb->s_blocksize_bits);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-12-13 19:01    [W:0.445 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site