netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Changing bonding <-> ifenslave interface  [was: Problem with current /proc entries]
@ 2003-10-19 15:56 Noam, Amir
  2003-10-20 16:42 ` Jay Vosburgh
  0 siblings, 1 reply; 5+ messages in thread
From: Noam, Amir @ 2003-10-19 15:56 UTC (permalink / raw)
  To: bonding-devel, netdev


[adding netdev to the discussion]

"Chad N. Tindel" <chad@tindel.net> wrote:

>  > >I say that if people want to switch between 2.4 and 2.6, they can
>  > >write a script to create the appropriate ifenslave symbolic link.
>  > 
>  > 	To clarify, I'm interpreting this to mean:
>  > 
>  > 	2.4.X ifenslave (where "X" is recent enough that it doesn't
>  > use SIOCDEVPRIVATE) should work with 2.6.anything.

I disagree. See below.

>  > 	2.4.X ifenslave (where "X" is old and it uses SIOCDEVPRIVATE)
>  > need not work with 2.6.anything.
>  > 
>  > 	2.6.X ifenslave (where "X" is 0 or better) should work with
>  > any 2.6 later than the one it was shipped with.

Yes.

>  > 	2.6.X ifenslave (where "X" is 0 or better) need not work with
>  > 2.4.anything.

I disagree. I think that the latest version of ifenslave should work
with all versions of the bonding module that we can reasonably expect
people to use. This means that if ifenslave fails to use the new
interface it can try the old one. (This is how I understood Jeff's
position).

However, I'm definitely in favor of dropping compatibility in the
*module* in 2.6. This is because most recent distributions (Red Hat 9,
for example) still use an antique version of ifenslave that still uses
the SIOCDEVPRIVATE ioctls. If we remove support for these ioctls in
2.6 (as we should), then the bonding module will break compatibility
with those ifenslave versions anyway. I see no point in trying to keep
compatibility with the ifenslave version that is in the 2.4 kernel
tree, while it is not yet in use by any distribution.

>  My opinion is this.  What has worked in 2.4 in the past 
>  should always work
>  for 2.4.  Once you upgrade to 2.6, all bets for that are off.  

I agree, except that I think that if you upgrade to 2.6, and update
your ifenslave accordingly, you shouldn't have to switch user space
utilities when you boot into different kernels. That's why I said that
once you update ifenslave it should work with old bonding as well.

>  > 	Amir, how close are you to having a first draft patch for
>  > inspection?  I'm not concerned so much that it be fully baked
>  > as that
>  > it be something to look at and mess with for the usual gang.

We can probably provide a version of bonding/ifenslave that works with
the new interface within two weeks (hopefully less). This is, of course,
assuming we reach a consensus on the compatibility issue.

>  > 	Am I nuts to want to get the new API stuff in for 2.6.0?  It'd
>  > be nice to not be locked in to supporting the current 
>  scheme because
>  > the first ifenslave in 2.6.0 uses it.
>  
>  I agree wholeheartedly.

I also agree. The question is, can we really push such a change into
bonding in 2.6, now that Linus only accepts bug fixes?

Amir

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-20 21:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E791C176A6139242A988ABA8B3D9B38A02A4651C@hasmsx403.iil.intel.com>
2003-10-20 18:20 ` Changing bonding <-> ifenslave interface [was: Problem with current /proc entries] Shmulik Hen
2003-10-20 19:12   ` Jay Vosburgh
2003-10-20 21:21     ` [Bonding-devel] " Chad N. Tindel
2003-10-19 15:56 Noam, Amir
2003-10-20 16:42 ` Jay Vosburgh

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