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

On 10/18/2010 04:31 PM, Vladislav Bogdanov wrote:
> 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?

Nice, free, open source xml editor:

http://www.syntext.com/products/serna-free/

>
> 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/)

Hmm, I took dracut-bonding-support.patch and not 
dracut-005-bonding-support.patch... but I might have copied the commit message 
from the wrong patch.

>
> 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?).

Already done :)
http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=commitdiff;h=57a49c67275c8ec6b3d85dc70433ffc15aec47e4

>
> 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:41 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
     [not found]                 ` <4CBC5A48.1010304-Awb4OmSD/41iLUuM0BA3LQ@public.gmane.org>
2010-10-18 14:41                   ` Harald Hoyer [this message]
     [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=4CBC5C7C.4000504@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=bubble-Awb4OmSD/41iLUuM0BA3LQ@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.