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] [DRBD-8] Update to drbdsetup events -a command
Date: Tue, 26 Jun 2007 12:01:44 +0200	[thread overview]
Message-ID: <200706261201.44842.philipp.reisner@linbit.com> (raw)
In-Reply-To: <342BAC0A5467384983B586A6B0B3767105DEBC84@EXNA.corp.stratus.com>

On Monday 25 June 2007 20:32:14 Graham, Simon wrote:
> The drbdsetup events command starts off by outputting the current state
> of the selected device - however, when you use '-a' to have it monitor
> all devices, it would be useful if it would output the current state of
> all devices - this removes the need to poll for state before running the
> command. Attached is a suggested patch - probably a little too gross
> since I just looped for all possible minor numbers 0-255;  presumably we
> should actually read the configured max from somewhere?
>
>

You are absolutely right with this two patches ...
The are in.

-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-06-26 10:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-25 18:32 [Drbd-dev] [DRBD-8] Update to drbdsetup events -a command Graham, Simon
2007-06-26 10:01 ` 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=200706261201.44842.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