![]() | |||||||||||||
Messages in this thread |
On Wed, Mar 17 2004, Peter Zaitsev wrote: > Hello, > > I'm wondering is there any way in Linux to do proper fsync(), which > makes sure data is written to the disk. > > Currently on IDE devices one can see, fsync() only flushes data to the > drive cache which is not enough for ACID guaranties database server must > give. > > There is solution just to disable drive write cache, but it seems to > slowdown performance way to much. Chris and I have working real fsync() with the barrier patches. I'll clean it up and post a patch for vanilla 2.6.5-rc today. -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 13:01 [W:1.589 / U:0.240 seconds] ©2003-2008 Jasper Spaans | |||||||||||||