Re: [PATCH] 2.4.x write barriers (updated for ext3)

Helge Hafting
2002-03-04T08:21:09Z

On Sun, Mar 03, 2002 at 10:34:07PM -0500, Chris Mason wrote:
[...]
> 3) Some drives may not be very smart about ordered tags. We need
> to figure out which is faster, using the ordered tag or using a
> simple cache flush (when writeback is on). The good news about
> the cache flush is that it doesn't require major surgery in the
> scsi error handlers.

Isn't that a userspace thing? I.e. use ordered tags in the best
way possible for drives that _are_ smart about ordered tags.
Let the admin change that with a hdparm-like utility
if testing (or specs) confirms that this particular
drive takes a performance hit.

I thing the days of putting up with any stupid hw is
slowly going away. Linux is a serious server os these
days, and disk makers will be smart about ordered tags
if some server os do benefit from it. It won't
really cost them much either.

Old hw is another story of course - some sort of
fallback might be useful for that. But probably
not for next year's drives. :-)

Helge Hafting