Re: [PATCH 00/14] ahci/libata: clean up platform device removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Fri, Nov 02, 2012 at 12:03:02PM -0700, Brian Norris wrote:
> > That's because detaching the driver is handled basically as controller
> > hot unplug.  By the time SCSI is noticing the SCSI devices are going
> > away, the corresponding ATA devices are already away.  It's kinda
> > natural to implement that way.  Is this an actual problem?
> 
> Yes. The HDD doesn't spin down. I'm removing the device because I want
> some power savings, so I would expect to spin down the disk.

Detach the hdds first then.  You're essentially yanking out the
controller.  The high level driver naturally loses control of the
device before it can do anything about it.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux