Re: [PATCH] ata: ahci: power off unused ports

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kristen Carlson Accardi <kristen.c.accardi@...>
Cc: <jeff@...>, <linux-ide@...>, <linux-kernel@...>
Date: Friday, May 9, 2008 - 11:06 am

Kristen Carlson Accardi wrote:
..
..

I don't like to be picky, but we already have an "ata_link_offline"
function in libata, which tests *whether* a link is offline,
as opposed to *setting* a link to be offline.

So in that context, I find the name ata_phy_offline slightly confusing.
Perhaps something like ata_set_phy_offline would make it more clear?

And a more general note:  I still believe we should have a follow-up
feature to this one, to enable polling for newly inserted drives.

That would allow powering down idle ports to save money/planet/whatever,
but still with hotplug capability.  The polling interval should be
tunable in /sys, with a default of, say, once every couple of seconds.

Thanks for working on this stuff.

Cheers
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] ata: ahci: power off unused ports, Kristen Carlson Accardi, (Thu May 8, 7:10 pm)
Re: [PATCH] ata: ahci: power off unused ports, Theodore Tso, (Mon May 26, 11:08 pm)
Re: [PATCH] ata: ahci: power off unused ports, Kristen Carlson Accardi, (Tue May 27, 5:32 pm)
Re: [PATCH] ata: ahci: power off unused ports, Theodore Tso, (Tue May 27, 6:59 pm)
Re: [PATCH] ata: ahci: power off unused ports, Kristen Carlson Accardi, (Tue May 27, 7:32 pm)
Re: [PATCH] ata: ahci: power off unused ports, Pavel Machek, (Sat May 31, 4:00 am)
Re: [PATCH] ata: ahci: power off unused ports, Jeff Garzik, (Sun Jun 1, 3:16 pm)
Re: [PATCH] ata: ahci: power off unused ports, Alan Cox, (Mon Jun 2, 3:04 am)
Re: [PATCH] ata: ahci: power off unused ports, Jeff Garzik, (Mon Jun 2, 3:43 am)
Re: [PATCH] ata: ahci: power off unused ports, Mark Lord, (Mon Jun 2, 9:03 am)
Re: [PATCH] ata: ahci: power off unused ports, Kristen Carlson Accardi, (Mon Jun 2, 12:57 pm)
Re: [PATCH] ata: ahci: power off unused ports, Jeff Garzik, (Mon Jun 2, 1:44 pm)
Re: [PATCH] ata: ahci: power off unused ports, Jeff Garzik, (Mon Jun 2, 12:07 pm)
Re: [PATCH] ata: ahci: power off unused ports, Kristen Carlson Accardi, (Mon Jun 2, 1:00 pm)
Re: [PATCH] ata: ahci: power off unused ports, Jeff Garzik, (Mon Jun 2, 1:45 pm)
Re: [PATCH] ata: ahci: power off unused ports, Kristen Carlson Accardi, (Mon Jun 2, 1:47 pm)
Re: [PATCH] ata: ahci: power off unused ports, Jeff Garzik, (Mon Jun 2, 2:15 pm)
Re: [PATCH] ata: ahci: power off unused ports, Kristen Carlson Accardi, (Mon Jun 2, 2:16 pm)
Re: [PATCH] ata: ahci: power off unused ports, Jeff Garzik, (Mon Jun 2, 2:38 pm)
Re: [PATCH] ata: ahci: power off unused ports, Kristen Carlson Accardi, (Tue Jun 3, 12:49 pm)
Re: [PATCH] ata: ahci: power off unused ports, Ric Wheeler, (Mon Jun 2, 2:30 pm)
Re: [PATCH] ata: ahci: power off unused ports, Jeff Garzik, (Mon Jun 2, 2:40 pm)
Re: [PATCH] ata: ahci: power off unused ports, Matthew Garrett, (Mon Jun 2, 4:00 pm)
Re: [PATCH] ata: ahci: power off unused ports, Ric Wheeler, (Mon Jun 2, 2:49 pm)
Re: [PATCH] ata: ahci: power off unused ports, Jeff Garzik, (Mon Jun 2, 2:52 pm)
Re: [PATCH] ata: ahci: power off unused ports, Greg Freemyer, (Mon Jun 2, 1:07 pm)
Re: [PATCH] ata: ahci: power off unused ports, Alan Cox, (Mon Jun 2, 4:22 am)
Re: [PATCH] ata: ahci: power off unused ports, Jeff Garzik, (Mon Jun 2, 5:48 am)
Re: [PATCH] ata: ahci: power off unused ports, Kristen Carlson Accardi, (Mon Jun 2, 12:55 pm)
Re: [PATCH] ata: ahci: power off unused ports, Alan Cox, (Mon Jun 2, 9:54 am)
Re: [PATCH] ata: ahci: power off unused ports, Mark Lord, (Fri May 9, 11:06 am)
Re: [PATCH] ata: ahci: power off unused ports, Matthew Garrett, (Thu May 8, 7:37 pm)
Re: [PATCH] ata: ahci: power off unused ports, Lennart Sorensen, (Fri May 9, 11:58 am)
Re: [PATCH] ata: ahci: power off unused ports, Matthew Garrett, (Fri May 9, 12:06 pm)
Re: [PATCH] ata: ahci: power off unused ports, Lennart Sorensen, (Fri May 9, 12:14 pm)
Re: [PATCH] ata: ahci: power off unused ports, Kristen Carlson Accardi, (Fri May 9, 1:14 pm)
Re: [PATCH] ata: ahci: power off unused ports, Kristen Carlson Accardi, (Thu May 8, 7:35 pm)
Re: [PATCH] ata: ahci: power off unused ports, Matthew Garrett, (Thu May 8, 8:14 pm)
Re: [PATCH] ata: ahci: power off unused ports, Kristen Carlson Accardi, (Thu May 8, 8:28 pm)