Module Name: src Committed By: jdolecek Date: Fri Jun 23 22:11:13 UTC 2017
Modified Files: src/sys/dev/ata [jdolecek-ncq]: wd.c Log Message: change wd_standby() to remove the ata_channel_start() call - the purpose of that particular command is to make the drive idle fix locking bug in wddetach() exposed by calling ata_channel_start() in wd_standby() - move wd_standby() call out of the section protected by drive mutex, to avoid lock against itself should it need to get the lock change wd_flushcache() to only call ata_channel_start() when called from the ioctl; particularly, don't call it when suspending, closing, or on shutdown To generate a diff of this commit: cvs rdiff -u -r1.428.2.20 -r1.428.2.21 src/sys/dev/ata/wd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.