[Drbd-dev] DRBD8: Resync speed reporting not accurate

Philipp Reisner philipp.reisner at linbit.com
Tue Mar 20 13:25:40 CET 2007


Am Freitag, 16. März 2007 20:24 schrieb Montrose, Ernest:
> Hi all,
> We are seeing a problem where  resyncing multiple drbd volumes
> say r0,r1,r2 reports the wrong sync speed stats.  It seems to get worst
> and worst.  So r0 would report 30meg/S, r1 19Meg/sec and r2 9Meg/sec.
> These rates are not the true rates except for the first one. In reality,
> all the volumes took the same time to resync and they have the same
> size.
>
> The problem I think is that while one volume is Syncing the next volume
> in
> PauseSyncX get some activity and ends up calling __drbd_set_in_sync()
> from the asender thread.  When this happens rs_mark_time gets reset as
> well
> as rs_mark_left.  To illustrate this the change below would force the
> problem
> to go away.  I am not sure this is the correct patch though:
>

Hi Ernest,

Right, I have comited the patch. 

-Phil
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Vivenotgasse 48, 1120 Vienna, Austria        http://www.linbit.com :


More information about the drbd-dev mailing list