[Ocfs2-commits] khackel commits r1265 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Jul 14 23:01:36 CDT 2004


Author: khackel
Date: 2004-07-14 22:01:34 -0500 (Wed, 14 Jul 2004)
New Revision: 1265

Modified:
   trunk/src/file.c
Log:
convert nonaligned directio to buffered io for sqlplus problem

Modified: trunk/src/file.c
===================================================================
--- trunk/src/file.c	2004-07-15 01:39:26 UTC (rev 1264)
+++ trunk/src/file.c	2004-07-15 03:01:34 UTC (rev 1265)
@@ -693,7 +693,6 @@
 		*ppos = inode->i_size;
 	}
 
-#if 0 /* Is this fixed in Oracle? */
 	if (filp->f_flags & O_DIRECT) {
 		/* anything special for o_direct? */
 		LOG_TRACE_STR ("O_DIRECT");
@@ -702,7 +701,6 @@
 			filp->f_flags &= ~O_DIRECT;
 		}
 	}
-#endif
 
 	if (atomic_read(&OCFS_I(inode)->ip_needs_verification)) {
 		LOG_TRACE_STR ("OIN_NEEDS_VERIFICATION");
@@ -816,7 +814,6 @@
 
 	osb = OCFS_SB(inode->i_sb);
 
-#if 0 /* Is this fixed in Oracle? */
 	if (filp->f_flags & O_DIRECT) {
 		/* anything special for o_direct? */
 		LOG_TRACE_STR ("O_DIRECT");
@@ -826,7 +823,6 @@
 			filp->f_flags &= ~O_DIRECT;
 		}
 	}
-#endif
 
 	if (atomic_read(&OCFS_I(inode)->ip_needs_verification)) {
 		down_read(&OCFS_I(inode)->ip_io_sem);



More information about the Ocfs2-commits mailing list