Subject: Re: write cache on ATA drives
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 12/09/2002 17:39:39
On Mon, Dec 09, 2002 at 08:36:50PM -0500, Thor Lancelot Simon wrote:

 > When I added it, we didn't _have_ a real mid-layer.  If it's still there,
 > by all means, feel free to move it. :-)

Ok, maybe I'll take a look at this.  All that spare time I have, and all :-)

 > On a less contentious note, what do you think about my suggestion that we
 > should have that logic _somewhere_ and that we should explicitly set
 > drives' reordering policy in order to take advantage of it?  It's a hell
 > of a lot better than turning on the write cache, and we don't have to make
 > it a persistent setting, right? (I cannot remember how that mode page 
 > works).
 > 
 > It seems like this would provide exactly what softdep wants, among other
 > benefits.

Yah, I agree that's probably the right thing to do.  It would be nice to
have a MIB sysctl-like thing do handle this from rc scripts, though.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>