Re: [PATCH 2/6] libata: avoid waking disk to check power

2013-11-11 Thread Sergei Shtylyov
Hello. On 10-11-2013 1:03, Phillip Susi wrote: When a disk is in SLEEP mode it can not respond to commands, including the CHECK POWER command. Instead of waking up the sleeping disk, fake the reply to the CHECK POWER command to indicate the disk is in standby mode. This prevents udisks from

[PATCH 2/6] libata: avoid waking disk to check power

2013-11-09 Thread Phillip Susi
When a disk is in SLEEP mode it can not respond to commands, including the CHECK POWER command. Instead of waking up the sleeping disk, fake the reply to the CHECK POWER command to indicate the disk is in standby mode. This prevents udisks from waking up sleeping disks when it polls to see if