Re: two ata write chaching request

2010-12-20 Thread Alexander Motin
Xin LI wrote: > On 12/20/10 15:10, Alexander Best wrote: >> 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 poin

Re: two ata write chaching request

2010-12-20 Thread Chuck Swiger
On Dec 20, 2010, at 3:31 PM, Garrett Cooper wrote: >> NetBSD's dkctl allows one to enable and disable read or write caches on a >> per-device basis, on the fly. Presumably atacontrol or whatever the new ada >> / ACHI driver uses for control would be the FreeBSD equivalent > >atacontrol

Re: two ata write chaching request

2010-12-20 Thread Alexander Best
On Mon Dec 20 10, Chuck Swiger wrote: > On Dec 20, 2010, at 3:10 PM, Alexander Best wrote: > > 1) write caching to be turned on and off for individual hdds > > (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 disab

Re: two ata write chaching request

2010-12-20 Thread Garrett Cooper
On Mon, Dec 20, 2010 at 3:29 PM, Chuck Swiger wrote: > On Dec 20, 2010, at 3:10 PM, Alexander Best wrote: >> 1) write caching to be turned on and off for individual hdds >>   (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 enab

Re: two ata write chaching request

2010-12-20 Thread Xin LI
-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 th

Re: two ata write chaching request

2010-12-20 Thread Chuck Swiger
On Dec 20, 2010, at 3:10 PM, Alexander Best wrote: > 1) write caching to be turned on and off for individual hdds > (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