On Tue, Jul 03, 2012 at 11:06:58PM -0400, Phillip Susi wrote: > Ohh, I see now... you want lots of small, random, synchronous writes. Then I think the only way to avoid the metadata overhead is with the unsafe stale data patch. More importantly, this workload is going to have terrible performance no matter what the fs does, because even with all of the blocks initialized, you're still doing lots of seeking and not allowing the IO elevator to help. Maybe the application can be redesigned so that it does not generate such pathological IO? Yes, I agree with you that the application should be re-designed but we cannot control it. So we have to use this big hammer. :-( > > Or is this another case of userspace really needing access to barriers rather than using the big hammer of fsync? Maybe Google meets the same problem. > > Is there any technical reason why a barrier flag can't be added to the aio interface? Sorry, I am not very familiar with it. Regards, Zheng -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html