[Libaio-oracle-commits] jlbec commits r31 - trunk

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Aug 18 15:01:07 CDT 2004


Author: jlbec
Date: 2004-08-18 14:01:05 -0500 (Wed, 18 Aug 2004)
New Revision: 31

Modified:
   trunk/ChangeLog
   trunk/lio_test.c
Log:
Go 0.3.0, because we should for 2.6

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2003-07-22 18:51:22 UTC (rev 30)
+++ trunk/ChangeLog	2004-08-18 19:01:05 UTC (rev 31)
@@ -1,4 +1,8 @@
 
+2004-08-18	Joel Becker <joel.becker at oracle.com>
+
+	* Released 0.3.0
+
 2003-06-30	Joel Becker <joel.becker at oracle.com>
 
 	* configure.in: Bumped to 0.3.0.

Modified: trunk/lio_test.c
===================================================================
--- trunk/lio_test.c	2003-07-22 18:51:22 UTC (rev 30)
+++ trunk/lio_test.c	2004-08-18 19:01:05 UTC (rev 31)
@@ -354,7 +354,8 @@
         }
         size = size << 9; /* Linux BLKGETSIZE is 512b sectors */
     }
-    if ((count == -1) || (count > size))
+    /* needs real handling */
+    if ((count == -1) || ((size > 0) && (count > size))) 
         count = size;
 
     outfd = open(argv[arg_ind + 1],



More information about the Libaio-oracle-commits mailing list