Merging ATA passthru
Folks,
Taking Mark Lord's (and others) criticism to heart, I'm going to merge the ATA passthru work upstream, once 2.6.14 is released.
Since there are still some reported problems that I haven't had time to track down, I'm going to -- like ATAPI -- introduce a module option that enables passthru. It will default to off.
Other features that follow a similar pattern -- 98% there but needs a few final tweaks -- will be treated in the same way.
This gets lesser-used features upstream where they can get the most testing, while defaulting them to off ensures that we won't perturb the known-working code.
This also will help me, in that I won't have to maintain a bunch of parallel codebases.
Jeff
Quoted 11 lines · Jeff Garzik
Folks,
Taking Mark Lord's (and others) criticism to heart, I'm going to merge the ATA passthru work upstream, once 2.6.14 is released.
Since there are still some reported problems that I haven't had time to track down, I'm going to -- like ATAPI -- introduce a module option that enables passthru. It will default to off.
Other features that follow a similar pattern -- 98% there but needs a few final tweaks -- will be treated in the same way.
can you get a patch into -mm that default-on's them? That way the brave of heart get it automatic while those who play safe get them default-off. Expands your testingbase as well ;)
Quoted 16 lines · Arjan van de Ven
Quoted 7 lines · Jeff Garzik
Folks,
Taking Mark Lord's (and others) criticism to heart, I'm going to merge the ATA passthru work upstream, once 2.6.14 is released.
Since there are still some reported problems that I haven't had time to track down, I'm going to -- like ATAPI -- introduce a module option that enables passthru. It will default to off.
Other features that follow a similar pattern -- 98% there but needs a few final tweaks -- will be treated in the same way.
can you get a patch into -mm that default-on's them? That way the brave of heart get it automatic while those who play safe get them default-off. Expands your testingbase as well ;)
Quoted 5 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
It's already there:
arcadia ~ # uname -a
Linux arcadia.lan 2.6.14-rc4-mm1 #2 Thu Oct 20 12:07:22 BST 2005 i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux
arcadia ~ # smartctl -d ata -H /dev/sda
smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
:-)
Chris
Signature · 3 lines
Chris Boot [email protected] http://www.bootc.net/
Quoted 6 lines · Arjan van de Ven
Quoted 4 lines · Jeff Garzik
Folks,
Taking Mark Lord's (and others) criticism to heart, I'm going to merge the ATA passthru work upstream, once 2.6.14 is released.
Quoted 8 lines
Quoted 3 lines
Since there are still some reported problems that I haven't had time to track down, I'm going to -- like ATAPI -- introduce a module option that enables passthru. It will default to off.
Other features that follow a similar pattern -- 98% there but needs a few final tweaks -- will be treated in the same way.
can you get a patch into -mm that default-on's them? That way the brave of heart get it automatic while those who play safe get them default-off. Expands your testingbase as well ;)
It currently defaults to on in -mm. I'll make sure that doesn't change...
Jeff
Quoted 4 lines · Jeff Garzik
Folks,
Taking Mark Lord's (and others) criticism to heart, I'm going to merge the ATA passthru work upstream, once 2.6.14 is released.
Thanks, Jeff!
Quoted 1 line
Since there are still some reported problems that I haven't had time to track down, I'm going to -- like ATAPI -- introduce a module option that enables passthru. It will default to off.
With passthru, it would really be much better to just leave it enabled without any option. It's NOT on any main code path, and users/distros have to intentionally run "smartctl -d ata" or "hdparm /dev/sd*" to trigger any of it.
So it is already "off", unless somebody wants to use it. This is different from the ATAPI code.
But good to have it finally going upstream where it will get used.
Cheers!
Quoted 13 lines · Mark Lord
Quoted 4 lines · Jeff Garzik
Folks,
Taking Mark Lord's (and others) criticism to heart, I'm going to merge the ATA passthru work upstream, once 2.6.14 is released.
Thanks, Jeff!
Quoted 1 line
Since there are still some reported problems that I haven't had time to track down, I'm going to -- like ATAPI -- introduce a module option that enables passthru. It will default to off.
Quoted 6 lines
With passthru, it would really be much better to just leave it enabled without any option. It's NOT on any main code path, and users/distros have to intentionally run "smartctl -d ata" or "hdparm
/dev/sd*" to trigger any of it.So it is already "off", unless somebody wants to use it.
Not really true, as people constantly try (and fail) to use hdparm with their SATA disks today.
Anyway, I have this weird thing about not turning on something by default, when I know has it problems ;-)
Jeff
Quoted 4 lines · Mark Lord
With passthru, it would really be much better to just leave it enabled without any option. It's NOT on any main code path, and users/distros have to intentionally run "smartctl -d ata" or "hdparm
/dev/sd*" to trigger any of it.
Actually, that's a good point. I'm forced to concur with my colleague... :-)
John
Signature · 2 lines
John W. Linville [email protected]