[DRBD-user] Problems after upgrade 8.2.0 to 8.3.0

Lars Ellenberg lars.ellenberg at linbit.com
Mon Feb 9 20:53:18 CET 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Mon, Feb 09, 2009 at 08:08:01PM +0100, Lars Ellenberg wrote:
> > In the btw, iostats accounting for drbd devices is still crazy, even
> > reverting back to 8.2.7
> 
> can you be more specific?

ah.
right.
you are the one with the 2.6.28 kernel,
not the one with the 2.6.18-whatever thingy.

hm, apparently we had a glitch in the 2.6.28 support of those statistics.

diff --git a/drbd/drbd_req.c b/drbd/drbd_req.c
index 8615a84..e334fc4 100644
--- a/drbd/drbd_req.c
+++ b/drbd/drbd_req.c
@@ -160,6 +160,7 @@ static inline void _drbd_end_io_acct(struct drbd_conf *mdev, struct drbd_request
 	part_stat_add(cpu, &mdev->vdisk->part0, ticks[rw], duration);
 	part_round_stats(cpu, &mdev->vdisk->part0);
 	part_stat_unlock();
+	mdev->vdisk->part0.in_flight--;
 #endif
 }
 


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list