netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Nicolas de Pesloüan" <nicolas.2p.debian@gmail.com>
To: Jay Vosburgh <fubar@us.ibm.com>
Cc: "Nicolas de Pesloüan" <nicolas.2p.debian@free.fr>,
	netdev@vger.kernel.org, "Andy Gospodarek" <andy@greyhouse.net>
Subject: Re: [PATCH] bonding: document undocumented active_slave sysfs entry.
Date: Mon, 26 Dec 2011 23:51:11 +0100	[thread overview]
Message-ID: <4EF8FA5F.8010609@gmail.com> (raw)
In-Reply-To: <20213.1324933811@death>

Le 26/12/2011 22:10, Jay Vosburgh a écrit :
> Nicolas de Pesloüan 	<nicolas.2p.debian@free.fr>  wrote:
>
>> Signed-off-by: Nicolas de Pesloüan<nicolas.2p.debian@free.fr>
>> cc: Jay Vosburgh<fubar@us.ibm.com>
>> cc: Andy Gospodarek<andy@greyhouse.net>
>>
>> ---
>> Documentation/networking/bonding.txt |   14 ++++++++++++++
>> 1 files changed, 14 insertions(+), 0 deletions(-)
>>
>> diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt
>> index 91df678..83b44c2 100644
>> --- a/Documentation/networking/bonding.txt
>> +++ b/Documentation/networking/bonding.txt
>> @@ -196,6 +196,20 @@ or, for backwards compatibility, the option value.  E.g.,
>>
>> 	The parameters are as follows:
>>
>> +active_slave
>> +
>> +	Specifies the active slave for modes that support it (active-backup,
>> +	balance-alb and balance-tlb). The possible values are one of the
>> +	currently enslaved slaves. The selected slave must be up and the
>> +	underlying link must be up too.
>
> 	I would phrase this a bit differently, also including the empty
> string as a possible value:
>
> 	Specifies the new active slave for modes that support it
> 	(active-backup, balance-alb and balance-tlb).  Possible values
> 	are the name of any currently enslaved interface, or an empty
> 	string.  If a name is given, the slave must be up in order to be
> 	selected as the new active slave.  If an empty string is
> 	specified, the current active slave is cleared, and a new active
> 	slave is selected automatically.
>
>> +	Note that this is only available through the sysfs interface. No module
>> +	parameter by that name exists.
> 	
> 	"by this name" instead of "that".
>
>> +	The default value is empty (no active slave). It will automatically be
>> +	set every time an active slave is selected by normal bonding operation.
>> +	The current active slave can be read from this sysfs entry.
>
> 	I'd write this as:
>
> 	The normal value of this option is the name of the currently
> 	active slave, or the empty string if there is no active slave or
> 	the current mode does not use an active slave.
>
> 	With the above changes (or something pretty much equivalent) I'm
> good with this, and you can add a signed-off for me.


Thanks for the review. I will send V2 later.

	Nicolas.

  reply	other threads:[~2011-12-26 22:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-26 12:19 [PATCH] bonding: document undocumented active_slave sysfs entry Nicolas de Pesloüan
2011-12-26 20:20 ` David Miller
2011-12-26 21:10 ` Jay Vosburgh
2011-12-26 22:51   ` Nicolas de Pesloüan [this message]
2011-12-26 23:35 ` [PATCH V2] " Nicolas de Pesloüan
2011-12-27  1:09   ` David Miller

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=4EF8FA5F.8010609@gmail.com \
    --to=nicolas.2p.debian@gmail.com \
    --cc=andy@greyhouse.net \
    --cc=fubar@us.ibm.com \
    --cc=netdev@vger.kernel.org \
    --cc=nicolas.2p.debian@free.fr \
    /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;
as well as URLs for NNTP newsgroup(s).