All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] [PATCH]Enable 2.6 file data flushing
@ 2004-03-23 22:11 Rusty Lynch
  2004-03-23 22:23 ` Wim Coekaerts
  0 siblings, 1 reply; 5+ messages in thread
From: Rusty Lynch @ 2004-03-23 22:11 UTC (permalink / raw)
  To: ocfs2-devel

The following small patch makes a 2.6 built kernel flush it's 
data buffers to disk on ocfs_sync_inode, fixing bug #46

http://oss.oracle.com/bugzilla/show_bug.cgi?id=46

    --rusty

Index: src/file.c
===================================================================
--- src/file.c	(revision 807)
+++ src/file.c	(working copy)
@@ -68,6 +68,7 @@
 {
 	int status;
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+	filemap_fdatawrite(inode->i_mapping);	
 	status = sync_mapping_buffers(inode->i_mapping);
 #else
 	status = fsync_inode_buffers(inode);

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-24 16:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-23 22:11 [Ocfs2-devel] [PATCH]Enable 2.6 file data flushing Rusty Lynch
2004-03-23 22:23 ` Wim Coekaerts
2004-03-23 23:59   ` Rusty Lynch
2004-03-24  3:40     ` Wim Coekaerts
2004-03-24 16:37     ` Mark Fasheh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.