Date: Sun, 24 Oct 2010 19:04:45 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: bruce@cran.org.uk (Bruce Cran) Cc: Alexander Best <arundel@FreeBSD.org>, Alexander Motin <mav@FreeBSD.org>, freebsd-scsi@FreeBSD.org, freebsd-hackers@FreeBSD.org Subject: Re: Summary: Re: Spin down HDD after disk sync or before power off Message-ID: <201010241704.o9OH4jDM052926@lurza.secnetix.de> In-Reply-To: <20101024175306.00003c66@unknown>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Cran wrote: > I've just committed the patch to move the functionality into ada(4). > Should it be reverted? It seems to me that ATA and SCSI devices are sufficiently different (from the code's point of view) that it makes sense to separate the functionality in the ada and da drivers. In other words, I think the commit is good. I'm biased, though. By the way, I also think it's better to issue a "standby immediate" command, not a "sleep" command. The former is reversible, i.e. the drive can spin up if required (for whatever reason), while the latter may require a hardware reset, according to the documentation. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Python tricks" is a tough one, cuz the language is so clean. E.g., C makes an art of confusing pointers with arrays and strings, which leads to lotsa neat pointer tricks; APL mistakes everything for an array, leading to neat one-liners; and Perl confuses everything period, making each line a joyous adventure <wink>. -- Tim Peters
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010241704.o9OH4jDM052926>