diff options
author | Tejun Heo <[email protected]> | 2007-10-25 18:30:36 +0900 |
---|---|---|
committer | Jeff Garzik <[email protected]> | 2007-10-29 06:15:25 -0400 |
commit | 054a5fbaceb2eb3a31ea843c1cf0b8e10b91478c (patch) | |
tree | cbf21985f3894b11fe00666cef8ac33bae4f007d /net/unix/sysctl_net_unix.c | |
parent | 4dbfa39b6c95eb9d0aedb5bd00bb552b91c31e3d (diff) |
libata: track SLEEP state and issue SRST to wake it up
ATA devices in SLEEP mode don't respond to any commands. SRST is
necessary to wake it up. Till now, when a command is issued to a
device in SLEEP mode, the command times out, which makes EH reset the
device and retry the command after that, causing a long delay.
This patch makes libata track SLEEP state and issue SRST automatically
if a command is about to be issued to a device in SLEEP.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Bruce Allen <[email protected]>
Cc: Andrew Paprocki <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions