At the very least, IMO the block layer should be able to notice when
barriers need not be translated into cache flushes. Most notably when
wb cache is disabled on the drive, something easy to auto-detect, but
probably a manual switch also, for people with enterprise battery-backed
storage and such.
Jeff
--