From: Alfred P. <br...@mu...> - 2006-03-07 17:39:20
|
* Mike Abbott <mj...@co...> [060307 09:04] wrote: > > Is there any way to make fsync() asynchronous > > My first guess would be No, because ST requires non-blocking I/O and > descriptors to disk files can't be made non-blocking. But I'll talk > with Gene about it. You mentioned async I/O but that's its own can of > worms. I've never relied on SIGIO; let me know how it works for you :). > > If I were faced with this I would do the typical ST thing and spawn a > persistent helper process. You're right, you'd need a helper process to do this. fsync(2) can not be made async. -- - Alfred Perlstein - CTO Okcupid.com / FreeBSD Hacker / All that jazz - |