All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladislav Bogdanov <bubble-Awb4OmSD/41iLUuM0BA3LQ@public.gmane.org>
To: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: "initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [RFC] [PATCH] Bonding support for dracut
Date: Mon, 18 Oct 2010 17:31:36 +0300	[thread overview]
Message-ID: <4CBC5A48.1010304@hoster-ok.com> (raw)
In-Reply-To: <4CBC566C.9080407-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

18.10.2010 17:15, Harald Hoyer wrote:
> On 10/18/2010 03:48 PM, Vladislav Bogdanov wrote:
>> 18.10.2010 16:06, Harald Hoyer wrote:
>>> On 10/18/2010 02:04 PM, Vladislav Bogdanov wrote:
>>>> Hi all,
>>>>
>>>> I attach patch for bonding support in dracut.
>>>> It is against 005 (developed on fedora 13 version).
>>>> No documentation yet.
>>>> (partially) Tested to work correctly with bond0 alone and bridge on top
>>>> of bond0.
>>>>
>>>> Comments are welcome,
>>>>
>>>> Best,
>>>> Vladislav
>>>
>>> Please patch against the git version...
>>>
>>> $ git clone git://dracut.git.sourceforge.net/gitroot/dracut/dracut
>>>
>>> http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut
>>
>> This should be it.
> 
> pushed
> ...
> 
> 
> http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=commitdiff;h=96fb9c8dd708dfbab9cf6515d9a450abb060e623

Ahmmm....
So quick :)
I was ready for a long discussion :)

Some notes:

There is no documentation yet :( and it should not be forgotten to add
it. I generally hate to edit XML by hands. Could someone who operates
some magic XML tools do it?

Also both original patch (against 005) and commit message has a typo (in
head comments):
bond=bond0:eth0,eth1:balance-rr
should be really
bond=bond0:eth0,eth1:mode=balance-rr

Patch against git has this corrected (together with one more typo -
s/DEVICE/netif/)

Or even better third clause (options) should be omitted from that line:
it remained from a revision where I had mode as a separate clause.
Current version leaves all options defaulting to bonding.ko (and
balance-rr is its default mode btw).

One more is a mode of parse-bond.sh which should be 0755 (for consistency?).

And last, this should be tested thoroughly. I only did limited testing -
not all use cases, especially not with default values. It seems to be
correct, but I'm not 100% sure.

Best,
Vladislav

  parent reply	other threads:[~2010-10-18 14:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-18 12:04 [RFC] [PATCH] Bonding support for dracut Vladislav Bogdanov
     [not found] ` <4CBC37E7.9010904-Awb4OmSD/41iLUuM0BA3LQ@public.gmane.org>
2010-10-18 13:06   ` Harald Hoyer
     [not found]     ` <4CBC4661.3020100-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-10-18 13:48       ` Vladislav Bogdanov
     [not found]         ` <4CBC504A.7020002-Awb4OmSD/41iLUuM0BA3LQ@public.gmane.org>
2010-10-18 13:59           ` Harald Hoyer
2010-10-18 14:15           ` Harald Hoyer
     [not found]             ` <4CBC566C.9080407-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-10-18 14:31               ` Vladislav Bogdanov [this message]
     [not found]                 ` <4CBC5A48.1010304-Awb4OmSD/41iLUuM0BA3LQ@public.gmane.org>
2010-10-18 14:41                   ` Harald Hoyer
     [not found]                     ` <4CBC5C7C.4000504-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-10-19 13:54                       ` Vladislav Bogdanov
     [not found]                         ` <4CBDA315.2070603-Awb4OmSD/41iLUuM0BA3LQ@public.gmane.org>
2010-10-19 14:49                           ` One more fix (was Re: [RFC] [PATCH] Bonding support for dracut) Vladislav Bogdanov
     [not found]                             ` <4CBDAFE5.3020102-Awb4OmSD/41iLUuM0BA3LQ@public.gmane.org>
2010-10-28 15:14                               ` Harald Hoyer
2010-10-28 15:13                           ` [RFC] [PATCH] Bonding support for dracut Harald Hoyer

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=4CBC5A48.1010304@hoster-ok.com \
    --to=bubble-awb4omsd/41iluum0ba3lq@public.gmane.org \
    --cc=harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.