Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 21:10:43 +0100 (CET)
From:      Soren Schmidt <sos@freebsd.dk>
To:        rose@rose.nu (Stephen Rose)
Cc:        freebsd-hackers@FreeBSD.ORG, clash@tasam.com (Joe Gleason)
Subject:   Re: ata-disk ioctl and atactl patch
Message-ID:  <200102262010.VAA29823@freebsd.dk>
In-Reply-To: <Pine.BSF.4.05.10102260845001.64594-100000@k9.rose.nu> from Stephen Rose at "Feb 26, 2001 08:50:08 am"

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Stephen Rose wrote:
> A couple of us on the questions list have asked for a way to spin down ide
> disks when idle.  Is there any chance that this utility could lead to
> something useful there?

Well, of cause it could, but I'm not sure I see the usefullness of
the spindown at all, a spinup costs several units of idleness power,
so you have to keep it spun down for long periods to make it worth
the effort, and you wear significantly more on the mechanics this
way too...

> It seems Scott Renfro wrote:
> > As I promised on -mobile earlier this week, I've cleaned up my patches
> > to port the {Net,Open}BSD atactl utility, including a simplistic
> > ata-disk ioctl.  They apply cleanly against this afternoon's -stable
> > (including Soren's latest commit bringing -stable up to date with
> > -current).  I've been running them for some time and they ''work great
> > here''.
> >
> > Before announcing this in a broader context, I wanted to get a bit of
> > feedback on the ioctl implementation.  In particular, is it safe to
> > just do an ata_command inside adioctl() without any further checking?
> > (e.g., can this cause bad things to happen under heavy i/o load?)
> 
> No its not safe at all, you risk trashing an already running command...
> 
> Anyhow, I have an atacontrol thingy in the works for attach/detach,
> raid control etc, etc, I'll try to merge this functionality into that
> (the ioctl's will change etc, but the functionality is nice)...
> 
> -S?ren
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 
> ---
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 


-Søren

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102262010.VAA29823>