Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Philipp Reisner <philipp.reisner@linbit.com>
To: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] DRBD8: Resync speed reporting not accurate
Date: Tue, 20 Mar 2007 13:25:40 +0100	[thread overview]
Message-ID: <200703201325.41353.philipp.reisner@linbit.com> (raw)
In-Reply-To: <BD7042533C2F8943A6A4257A9E31C45439C92B@EXNA.corp.stratus.com>

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 :

      reply	other threads:[~2007-03-20 12:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-16 19:24 [Drbd-dev] DRBD8: Resync speed reporting not accurate Montrose, Ernest
2007-03-20 12:25 ` Philipp Reisner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200703201325.41353.philipp.reisner@linbit.com \
    --to=philipp.reisner@linbit.com \
    --cc=drbd-dev@lists.linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox