[Oracleasm-commits] jlbec commits r336 - trunk/kernel
    svn-commits@oss.oracle.com 
    svn-commits at oss.oracle.com
       
    Wed May 17 22:20:05 CDT 2006
    
    
  
Author: jlbec
Date: 2006-05-17 22:20:04 -0500 (Wed, 17 May 2006)
New Revision: 336
Modified:
   trunk/kernel/oracleasm.c
Log:
bio_end_io is apparently called multiple times on error - one per s-g
element.  Handle this like the rest of the kernel does.
Modified: trunk/kernel/oracleasm.c
===================================================================
--- trunk/kernel/oracleasm.c	2006-03-14 02:16:14 UTC (rev 335)
+++ trunk/kernel/oracleasm.c	2006-05-18 03:20:04 UTC (rev 336)
@@ -1179,6 +1179,10 @@
 
 	mlog_entry("(0x%p, %u, %d)\n", bio, bytes_done, error);
 
+	mlog(ML_BIO, "bio 0x%p, bi_size is %u\n", bio, bio->bi_size);
+	if (bio->bi_size)
+		return 1;
+
 	r = bio->bi_private;
 
 	mlog(ML_REQUEST|ML_BIO,
    
    
More information about the Oracleasm-commits
mailing list