Hello Jon, On Sat, Jun 28, 2008 at 2:40 PM, Jon Nelson <jnelson-linux-raid@xxxxxxxxxxx> wrote: > database, the data is not being written to new files but existing > files are being modified. If it were new files, then data=ordered > would be fine but since it is existing files being modified (in-place) > data=journal is more appropriate. > data=ordered should be fine in any case. Data is written directly to disk (either modified data or newly allocated data, this does not matter) and meta data goes through the journal log, written after the data. The problem lies in the fact that the driver can re-order the writes, if write caching is enabled and barriers are not used (as in my case, as md raid 5 does not support barriers). > Of course, I might be wrong and would appreciate (polite) correction > but this is what I've been led to believe. > I hope I was polite enough. > Now, due to the hardware reset, write caching on drives is a problem. > Only because they re-order, not because of anything else. > That you may have to disable - I've not found substantial performance > differences on when write caching is enabled anyway, but surely that > depends on a great many factors. > Indeed, we will be doing tests with that. Regards, -- Leon -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html