kern/140752: [ata] HDD power-off procedure is not clean
alexbestms at wwu.de
Sun Dec 6 03:00:15 UTC 2009
The following reply was made to PR kern/140752; it has been noted by GNATS.
From: Alexander Best <alexbestms at wwu.de>
To: <bug-followup at FreeBSD.org>,
<dynamic-wind at mail.ru>
Subject: Re: kern/140752: [ata] HDD power-off procedure is not clean
Date: Sun, 06 Dec 2009 03:58:14 +0100 (CET)
This is a MIME encoded multipart message.
Content-Type: text/plain; charset=us-ascii
this issue has been discussed in a few threads already, but i don't think an
agreement about how to handle the issue was made. see
attached is a small patch against HEAD which should set any hdd into standby
immediate state (if supported) before shutdown. before that however hdds get
their cache flushed which isn't recommended by the document you refer to in
your pr. so you might want to remove that code from ad_shutdown().
this issue needs to finally get solved imo. the technical part is quite simple
actually. however discussing this issue has always led to bikesheds. :(
Content-Disposition: attachment; filename="atadisk.c.patch.txt"
More information about the freebsd-bugs