2.4.x libata resync
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.
Quoted 3 lines · Tom Mortensen
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
Hello,
Quoted 11 lines · Willy Tarreau
Quoted 3 lines · Tom Mortensen
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.
Quoted 3 lines
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.
Signature · 1 line
tejun
Quoted 14 lines · Tejun Heo
Hello,
Quoted 11 lines · Willy Tarreau
Quoted 3 lines · Tom Mortensen
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.
Quoted 8 lines
Quoted 3 lines
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
Quoted 4 lines · Willy Tarreau
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
Quoted 9 lines · Jeff Garzik
Quoted 4 lines · Willy Tarreau
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
Quoted 6 lines · Willy Tarreau
Quoted 5 lines · Jeff Garzik
Quoted 4 lines · Willy Tarreau
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.
Quoted 7 lines
Quoted 1 line
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_nvin 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
Quoted 13 lines · Jeff Garzik
Quoted 12 lines · Willy Tarreau
Quoted 8 lines · Jeff Garzik
Quoted 4 lines · Willy Tarreau
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_nvin a sun x2100 :-)
Quoted 8 lines
Quoted 3 lines
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
Quoted 6 lines · Willy Tarreau
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
Quoted 10 lines · Jeff Garzik
Quoted 6 lines · Willy Tarreau
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
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 :)
Quoted 19 lines · Willy Tarreau
Quoted 3 lines · Tom Mortensen
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
Quoted 2 lines · Tom Mortensen
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