Date: Mon, 20 Dec 2010 15:31:58 -0800 From: Garrett Cooper <gcooper@FreeBSD.org> To: Chuck Swiger <cswiger@mac.com> Cc: Alexander Best <arundel@freebsd.org>, freebsd-current@freebsd.org Subject: Re: two ata write chaching request Message-ID: <AANLkTikLxcXouhGvNjeVRzxzWuOG01ce2w0iXTBeH9sj@mail.gmail.com> In-Reply-To: <3B3E7B72-C7C6-46F4-9DD9-0D82194FE068@mac.com> References: <20101220231005.GA68477@freebsd.org> <3B3E7B72-C7C6-46F4-9DD9-0D82194FE068@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 20, 2010 at 3:29 PM, Chuck Swiger <cswiger@mac.com> wrote: > On Dec 20, 2010, at 3:10 PM, Alexander Best wrote: >> 1) write caching to be turned on and off for individual hdds >> =A0 (i.e. hw.ata.X.wc) and >> 2) to be able to turn write chaching on and off on the fly. > > NetBSD's dkctl allows one to enable and disable read or write caches on a= per-device basis, on the fly. =A0Presumably atacontrol or whatever the new= ada / ACHI driver uses for control would be the FreeBSD equivalent.... atacontrol doesn't work with ahci. Some changes to this code should be coming soon, so I don't advise investing too much in hacking the driver for this support (unless you talk to mav@ first)... Thanks, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikLxcXouhGvNjeVRzxzWuOG01ce2w0iXTBeH9sj>