[DRBD-cvs] svn commit by phil - r2408 - trunk/drbd - The dec_ap_bio() was missing, cased drbd to freeze afte

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Tue Sep 12 12:21:03 CEST 2006


Author: phil
Date: 2006-09-12 12:21:02 +0200 (Tue, 12 Sep 2006)
New Revision: 2408

Modified:
   trunk/drbd/drbd_req.c
Log:
The dec_ap_bio() was missing, cased drbd to freeze after 
max_buffers requests.

Fixed that.


Modified: trunk/drbd/drbd_req.c
===================================================================
--- trunk/drbd/drbd_req.c	2006-09-12 09:14:24 UTC (rev 2407)
+++ trunk/drbd/drbd_req.c	2006-09-12 10:21:02 UTC (rev 2408)
@@ -175,6 +175,7 @@
 		 * up here anyways during the freeze ...
 		 * then again, if it is a READ, it is not in the TL at all.
 		 * is it still leagal to complete a READ during freeze? */
+		dec_ap_bio(mdev);
 		bio_endio(req->master_bio, req->master_bio->bi_size, ok ? 0 : -EIO);
 		req->master_bio = NULL;
 	} else {



More information about the drbd-cvs mailing list