public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.x libata resync
@ 2006-09-16  5:14 Tom Mortensen
  2006-09-16  5:37 ` Willy Tarreau
  2006-09-16  6:18 ` Jeff Garzik
  0 siblings, 2 replies; 13+ messages in thread
From: Tom Mortensen @ 2006-09-16  5:14 UTC (permalink / raw)
  To: linux-kernel

To Jeff Garzik & others,
I was wondering if there are any plans for another resync of the latest
2.6.x libata changes back into the 2.4.x kernel?
thanks,
-tom
ps, sorry for repeat of previous message with no subject line.

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

* Re: 2.4.x libata resync
  2006-09-16  5:14 2.4.x libata resync Tom Mortensen
@ 2006-09-16  5:37 ` Willy Tarreau
  2006-09-16  6:27   ` Tejun Heo
  2006-09-16  6:47   ` Tom Mortensen
  2006-09-16  6:18 ` Jeff Garzik
  1 sibling, 2 replies; 13+ messages in thread
From: Willy Tarreau @ 2006-09-16  5:37 UTC (permalink / raw)
  To: Tom Mortensen; +Cc: linux-kernel, jeff

On Fri, Sep 15, 2006 at 10:14:07PM -0700, Tom Mortensen wrote:
> To Jeff Garzik & others,
> I was wondering if there are any plans for another resync of the latest
> 2.6.x libata changes back into the 2.4.x kernel?

When Jeff posted his last version (which got merged), he said that it
would be his last work on this backport. I've been regularly checking
what has changed in 2.6, because often some bugs are fixed, but I see
that the code has considerably evolved since the last resync, and I'm
not even sure that those bugfixes are needed for 2.4.

A full resync of latest 2.6 would require a considerable effort it seems.
Do you encounter any problems right now ? I get very few feedback from
SATA users in general.

Regards,
Willy


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

* Re: 2.4.x libata resync
  2006-09-16  5:14 2.4.x libata resync Tom Mortensen
  2006-09-16  5:37 ` Willy Tarreau
@ 2006-09-16  6:18 ` Jeff Garzik
  1 sibling, 0 replies; 13+ messages in thread
From: Jeff Garzik @ 2006-09-16  6:18 UTC (permalink / raw)
  To: Tom Mortensen; +Cc: linux-kernel

Tom Mortensen wrote:
> I was wondering if there are any plans for another resync of the latest
> 2.6.x libata changes back into the 2.4.x kernel?

No plans from me, anyway.

The 2.6.x SCSI API is quite different from the 2.4 API.  Dropping 2.4 
support removed a lot of limitations on the codebase, and allowed 
accelerated development.

That shouldn't stop any sufficiently motivated 3rd party, though...

	Jeff



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

* Re: 2.4.x libata resync
  2006-09-16  5:37 ` Willy Tarreau
@ 2006-09-16  6:27   ` Tejun Heo
  2006-09-16  6:38     ` Willy Tarreau
  2006-09-16  6:47   ` Tom Mortensen
  1 sibling, 1 reply; 13+ messages in thread
From: Tejun Heo @ 2006-09-16  6:27 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: Tom Mortensen, linux-kernel, jeff

Hello,

Willy Tarreau wrote:
> On Fri, Sep 15, 2006 at 10:14:07PM -0700, Tom Mortensen wrote:
>> To Jeff Garzik & others,
>> I was wondering if there are any plans for another resync of the latest
>> 2.6.x libata changes back into the 2.4.x kernel?
> 
> When Jeff posted his last version (which got merged), he said that it
> would be his last work on this backport. I've been regularly checking
> what has changed in 2.6, because often some bugs are fixed, but I see
> that the code has considerably evolved since the last resync, and I'm
> not even sure that those bugfixes are needed for 2.4.
> 
> A full resync of latest 2.6 would require a considerable effort it seems.
> Do you encounter any problems right now ? I get very few feedback from
> SATA users in general.

I don't think it's gonna happen.  Later libata changes depend on a 
number of SCSI updates, which in turn are deeply dependent upon new 
driver model used in 2.6.  So, apart from bug fixes, there won't be 2.4 
resync.

-- 
tejun

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

* Re: 2.4.x libata resync
  2006-09-16  6:27   ` Tejun Heo
@ 2006-09-16  6:38     ` Willy Tarreau
  2006-09-16 15:49       ` Jeff Garzik
  0 siblings, 1 reply; 13+ messages in thread
From: Willy Tarreau @ 2006-09-16  6:38 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Tom Mortensen, linux-kernel, jeff

On Sat, Sep 16, 2006 at 03:27:12PM +0900, Tejun Heo wrote:
> Hello,
> 
> Willy Tarreau wrote:
> >On Fri, Sep 15, 2006 at 10:14:07PM -0700, Tom Mortensen wrote:
> >>To Jeff Garzik & others,
> >>I was wondering if there are any plans for another resync of the latest
> >>2.6.x libata changes back into the 2.4.x kernel?
> >
> >When Jeff posted his last version (which got merged), he said that it
> >would be his last work on this backport. I've been regularly checking
> >what has changed in 2.6, because often some bugs are fixed, but I see
> >that the code has considerably evolved since the last resync, and I'm
> >not even sure that those bugfixes are needed for 2.4.
> >
> >A full resync of latest 2.6 would require a considerable effort it seems.
> >Do you encounter any problems right now ? I get very few feedback from
> >SATA users in general.
> 
> I don't think it's gonna happen.  Later libata changes depend on a 
> number of SCSI updates, which in turn are deeply dependent upon new 
> driver model used in 2.6.  So, apart from bug fixes, there won't be 2.4 
> resync.

There are a bunch of small patches in the early 2.6 version which look
like bugfixes, but with non-descriptive comments, so I'm not sure what
they fix. Several of them would apply to 2.4, but I don't want to touch
this area as long as nobody complains about problems.

Regards,
Willy


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

* Re: 2.4.x libata resync
  2006-09-16  5:37 ` Willy Tarreau
  2006-09-16  6:27   ` Tejun Heo
@ 2006-09-16  6:47   ` Tom Mortensen
  1 sibling, 0 replies; 13+ messages in thread
From: Tom Mortensen @ 2006-09-16  6:47 UTC (permalink / raw)
  To: linux-kernel

Thank you for the info.  In studying the code that's what my
impression was as well (that it would require a considerable effort).

I haven't encountered any problems with SATA in 2.4.33, but I guess
what I was concerned about was when/if it might become necessary to
migrate to 2.6.x in order to support newer hardware.  I guess I'll
know when I encounter it :)

On 9/15/06, Willy Tarreau <w@1wt.eu> wrote:
> On Fri, Sep 15, 2006 at 10:14:07PM -0700, Tom Mortensen wrote:
> > To Jeff Garzik & others,
> > I was wondering if there are any plans for another resync of the latest
> > 2.6.x libata changes back into the 2.4.x kernel?
>
> When Jeff posted his last version (which got merged), he said that it
> would be his last work on this backport. I've been regularly checking
> what has changed in 2.6, because often some bugs are fixed, but I see
> that the code has considerably evolved since the last resync, and I'm
> not even sure that those bugfixes are needed for 2.4.
>
> A full resync of latest 2.6 would require a considerable effort it seems.
> Do you encounter any problems right now ? I get very few feedback from
> SATA users in general.
>
> Regards,
> Willy
>
>

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

* Re: 2.4.x libata resync
  2006-09-16  6:38     ` Willy Tarreau
@ 2006-09-16 15:49       ` Jeff Garzik
  2006-09-16 15:51         ` Willy Tarreau
  0 siblings, 1 reply; 13+ messages in thread
From: Jeff Garzik @ 2006-09-16 15:49 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: Tejun Heo, Tom Mortensen, linux-kernel

Willy Tarreau wrote:
> There are a bunch of small patches in the early 2.6 version which look
> like bugfixes, but with non-descriptive comments, so I'm not sure what
> they fix. Several of them would apply to 2.4, but I don't want to touch
> this area as long as nobody complains about problems.

Oh there are tons of SATA bug fixes that 2.4.x is missing.  One of the 
biggest is the completely crappy exception handling.  If a SATA device 
is unplugged or spazzes out, the system may or may not recover.

	Jeff



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

* Re: 2.4.x libata resync
  2006-09-16 15:49       ` Jeff Garzik
@ 2006-09-16 15:51         ` Willy Tarreau
  2006-09-16 16:07           ` Jeff Garzik
  0 siblings, 1 reply; 13+ messages in thread
From: Willy Tarreau @ 2006-09-16 15:51 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Tejun Heo, Tom Mortensen, linux-kernel

On Sat, Sep 16, 2006 at 11:49:06AM -0400, Jeff Garzik wrote:
> Willy Tarreau wrote:
> >There are a bunch of small patches in the early 2.6 version which look
> >like bugfixes, but with non-descriptive comments, so I'm not sure what
> >they fix. Several of them would apply to 2.4, but I don't want to touch
> >this area as long as nobody complains about problems.
> 
> Oh there are tons of SATA bug fixes that 2.4.x is missing.  One of the 
> biggest is the completely crappy exception handling.  If a SATA device 
> is unplugged or spazzes out, the system may or may not recover.

Already encountered on sata_nv in a sun x2100 :-)

Jeff, I did not want to blindly merge patches from 2.6 to 2.4, but if
you point me to a few ones you consider important, I'm willing to merge
them.

Regards,
Willy


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

* Re: 2.4.x libata resync
  2006-09-16 16:07           ` Jeff Garzik
@ 2006-09-16 16:05             ` Willy Tarreau
  2006-09-16 16:27               ` Jeff Garzik
  0 siblings, 1 reply; 13+ messages in thread
From: Willy Tarreau @ 2006-09-16 16:05 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Tejun Heo, Tom Mortensen, linux-kernel

On Sat, Sep 16, 2006 at 12:07:16PM -0400, Jeff Garzik wrote:
> Willy Tarreau wrote:
> >On Sat, Sep 16, 2006 at 11:49:06AM -0400, Jeff Garzik wrote:
> >>Willy Tarreau wrote:
> >>>There are a bunch of small patches in the early 2.6 version which look
> >>>like bugfixes, but with non-descriptive comments, so I'm not sure what
> >>>they fix. Several of them would apply to 2.4, but I don't want to touch
> >>>this area as long as nobody complains about problems.
> >>Oh there are tons of SATA bug fixes that 2.4.x is missing.  One of the 
> >>biggest is the completely crappy exception handling.  If a SATA device 
> >>is unplugged or spazzes out, the system may or may not recover.
> >
> >Already encountered on sata_nv in a sun x2100 :-)
> >
> >Jeff, I did not want to blindly merge patches from 2.6 to 2.4, but if
> >you point me to a few ones you consider important, I'm willing to merge
> >them.
> 
> As was hinted, it's not that easy, otherwise someone would have done it 
> by now.  libata bug fixes require infrastructure that isn't present on 
> 2.4.  The overall codebase is just too different to easily pull out 
> select bug fixes.

Of course for those. I was thinking about those which just change one
register or things like this that I cannot identify the expected effect.
If you agree, I'll enumerate the ones I've already noticed so that you
just have to say yes/no/unknown on them. Don't worry, I don't want to
spend lots of hours on this, since as I said, I do not receive any
feedback from SATA users on 2.4 (neither positive nor negative).

Willy


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

* Re: 2.4.x libata resync
  2006-09-16 15:51         ` Willy Tarreau
@ 2006-09-16 16:07           ` Jeff Garzik
  2006-09-16 16:05             ` Willy Tarreau
  0 siblings, 1 reply; 13+ messages in thread
From: Jeff Garzik @ 2006-09-16 16:07 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: Tejun Heo, Tom Mortensen, linux-kernel

Willy Tarreau wrote:
> On Sat, Sep 16, 2006 at 11:49:06AM -0400, Jeff Garzik wrote:
>> Willy Tarreau wrote:
>>> There are a bunch of small patches in the early 2.6 version which look
>>> like bugfixes, but with non-descriptive comments, so I'm not sure what
>>> they fix. Several of them would apply to 2.4, but I don't want to touch
>>> this area as long as nobody complains about problems.
>> Oh there are tons of SATA bug fixes that 2.4.x is missing.  One of the 
>> biggest is the completely crappy exception handling.  If a SATA device 
>> is unplugged or spazzes out, the system may or may not recover.
> 
> Already encountered on sata_nv in a sun x2100 :-)
> 
> Jeff, I did not want to blindly merge patches from 2.6 to 2.4, but if
> you point me to a few ones you consider important, I'm willing to merge
> them.

As was hinted, it's not that easy, otherwise someone would have done it 
by now.  libata bug fixes require infrastructure that isn't present on 
2.4.  The overall codebase is just too different to easily pull out 
select bug fixes.

	Jeff




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

* Re: 2.4.x libata resync
  2006-09-16 16:27               ` Jeff Garzik
@ 2006-09-16 16:22                 ` Willy Tarreau
  0 siblings, 0 replies; 13+ messages in thread
From: Willy Tarreau @ 2006-09-16 16:22 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Tejun Heo, Tom Mortensen, linux-kernel

On Sat, Sep 16, 2006 at 12:27:33PM -0400, Jeff Garzik wrote:
> Willy Tarreau wrote:
> >Of course for those. I was thinking about those which just change one
> >register or things like this that I cannot identify the expected effect.
> >If you agree, I'll enumerate the ones I've already noticed so that you
> >just have to say yes/no/unknown on them. Don't worry, I don't want to
> >spend lots of hours on this, since as I said, I do not receive any
> >feedback from SATA users on 2.4 (neither positive nor negative).
> 
> 
> I'm more than happy to review any 2.4 libata patches people post.

OK, I will check what I found in 2.6 when I have time.

Thanks,
Willy


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

* Re: 2.4.x libata resync
  2006-09-16 16:05             ` Willy Tarreau
@ 2006-09-16 16:27               ` Jeff Garzik
  2006-09-16 16:22                 ` Willy Tarreau
  0 siblings, 1 reply; 13+ messages in thread
From: Jeff Garzik @ 2006-09-16 16:27 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: Tejun Heo, Tom Mortensen, linux-kernel

Willy Tarreau wrote:
> Of course for those. I was thinking about those which just change one
> register or things like this that I cannot identify the expected effect.
> If you agree, I'll enumerate the ones I've already noticed so that you
> just have to say yes/no/unknown on them. Don't worry, I don't want to
> spend lots of hours on this, since as I said, I do not receive any
> feedback from SATA users on 2.4 (neither positive nor negative).


I'm more than happy to review any 2.4 libata patches people post.

	Jeff



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

* Re: 2.4.x libata resync
@ 2006-09-20 14:52 Mikael Pettersson
  0 siblings, 0 replies; 13+ messages in thread
From: Mikael Pettersson @ 2006-09-20 14:52 UTC (permalink / raw)
  To: jeff, w; +Cc: htejun, linux-kernel, tmmlkml

On Sat, 16 Sep 2006 18:05:20 +0200, Willy Tarreau wrote:
>> >>Oh there are tons of SATA bug fixes that 2.4.x is missing.  One of the 
>> >>biggest is the completely crappy exception handling.  If a SATA device 
>> >>is unplugged or spazzes out, the system may or may not recover.
>> >
>> >Already encountered on sata_nv in a sun x2100 :-)
>> >
>> >Jeff, I did not want to blindly merge patches from 2.6 to 2.4, but if
>> >you point me to a few ones you consider important, I'm willing to merge
>> >them.
>> 
>> As was hinted, it's not that easy, otherwise someone would have done it 
>> by now.  libata bug fixes require infrastructure that isn't present on 
>> 2.4.  The overall codebase is just too different to easily pull out 
>> select bug fixes.
>
>Of course for those. I was thinking about those which just change one
>register or things like this that I cannot identify the expected effect.
>If you agree, I'll enumerate the ones I've already noticed so that you
>just have to say yes/no/unknown on them. Don't worry, I don't want to
>spend lots of hours on this, since as I said, I do not receive any
>feedback from SATA users on 2.4 (neither positive nor negative).

Here's some positive feedback: My leafnode News server
(a 440BX chipset mobo with a Tualatin PIII-S) has been using
Promise SATA PCI cards (currently a SATA300 TX2plus) for its
disk storage since the SATA update patch was made available
for 2.4.29. It's been fast and reliable the entire time.

/Mikael

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

end of thread, other threads:[~2006-09-20 14:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-16  5:14 2.4.x libata resync Tom Mortensen
2006-09-16  5:37 ` Willy Tarreau
2006-09-16  6:27   ` Tejun Heo
2006-09-16  6:38     ` Willy Tarreau
2006-09-16 15:49       ` Jeff Garzik
2006-09-16 15:51         ` Willy Tarreau
2006-09-16 16:07           ` Jeff Garzik
2006-09-16 16:05             ` Willy Tarreau
2006-09-16 16:27               ` Jeff Garzik
2006-09-16 16:22                 ` Willy Tarreau
2006-09-16  6:47   ` Tom Mortensen
2006-09-16  6:18 ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2006-09-20 14:52 Mikael Pettersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox