LWN.net Logo

Advertisement

E-Commerce & credit card processing - the Open Source way!

Advertise here

Barriers and journaling filesystems

Barriers and journaling filesystems

Posted May 21, 2008 18:54 UTC (Wed) by magila (subscriber, #49627)
Parent article: Barriers and journaling filesystems

> There is also some potential for improvement by carefully ordering operations so that
barriers (which are normally implemented as "flush all outstanding operations to media"
requests) do not force the writing of blocks which do not have specific ordering requirements.

SCSI actually provides a convenient mechanism for doing this. You can declare a command as
being "Ordered" which will prevent it from being reordered relative to any other commands
which have also been declared as such. Unfortunately AFAIK ATA provides no such niceties. I
also don't know how widely supported this feature is by the various SCSI HBA drivers (I
suspect not very) but it is an option to explore.


(Log in to post comments)

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds