two ata write chaching request

Xin LI delphij at delphij.net
Mon Dec 20 23:29:59 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 12/20/10 15:10, Alexander Best wrote:
> hi there,
> 
> i'd really like to see
> 
> 1) write caching to be turned on and off for individual hdds
>    (i.e. hw.ata.X.wc) and

This is possible.  We may need to split the logic out from ad_init() as
the disk number is not known at that point if I understood the code
correctly.

> 2) to be able to turn write chaching on and off on the fly.

If I understand the code correctly, this is merely issuing a SETFEATURE
at runtime and *should* be possible.  The problem is atacontrol(8) does
not offer a way to issue the command directly as camcontrol(8) do.

> any thoughts on these two topics? is it technically possible?
> 
> cheers.
> alex
> 


- -- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!	       Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iQEcBAEBCAAGBQJND+bpAAoJEATO+BI/yjfBi3oH/RbzpLEDhDGj3cwvGZtNi6gx
YuwWK77ybbJfm5OX1KAaBHMr954+8G9syiHzxamRwKSCsSooh9gdNL/ZUFFym9ay
gsGDslkNINCOu19Cyd3F9SLiN+wym22siFJqakMf1yiZqrC7qxwOee42erwRnN9C
+rbF25SWjNx+Y/BeCu+H9qwnzYZ719d2bNIA7DSgaOOcUUh+OQdKxt3JykEeUKpi
mrEZ5NFxyuSDMkFenY0o1Zj3dH7y2s2o8Y3iJ/dxPWZHjL+Z/CZqMvNHu4eZzOa6
2XasZSgf1tvyGnkPJEbo+ClZny3wfKXm6lwChmtCz1wF1zv1sSCW/uqzjeBC0T8=
=IOBO
-----END PGP SIGNATURE-----


More information about the freebsd-current mailing list