* Disk spindown on rmmod sd_mod
@ 2007-10-02 18:53 Jan Engelhardt
2007-10-26 10:25 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2007-10-02 18:53 UTC (permalink / raw)
To: James.Bottomley; +Cc: Linux Kernel Mailing List, linux-scsi
Hi,
I am using 2.6.23-rc9 with pata_sis. `modprobe -r sd_mod`, which I ran
from initramfs, caused all my disks to spindown - sd even told me so.
I recall there has been talk a while back about whether to spin down
disks on shutdown or not, but I do not think it touched the removal of
sd_mod, did it? So either way, can someone fill me in why the spindown
is done?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Disk spindown on rmmod sd_mod
2007-10-02 18:53 Disk spindown on rmmod sd_mod Jan Engelhardt
@ 2007-10-26 10:25 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2007-10-26 10:25 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: James.Bottomley, Linux Kernel Mailing List, linux-scsi
Jan Engelhardt wrote:
> I am using 2.6.23-rc9 with pata_sis. `modprobe -r sd_mod`, which I ran
> from initramfs, caused all my disks to spindown - sd even told me so.
>
> I recall there has been talk a while back about whether to spin down
> disks on shutdown or not, but I do not think it touched the removal of
> sd_mod, did it? So either way, can someone fill me in why the spindown
> is done?
The problem is that it's difficult to tell why a disk is going down from
sd_shutdown(), so it issues STOP unless system state is SYSTEM_RESTART.
Maybe we need to issue STOP only for SYSTEM_HALT, SYSTEM_POWER_OFF and
SYSTEM_SUSPEND_DISK.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-26 10:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-02 18:53 Disk spindown on rmmod sd_mod Jan Engelhardt
2007-10-26 10:25 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox