On Wednesday 16 November 2005 01:45, David Masover wrote:
> I got sick of waiting for it and nuked the fsync call. All my kernels
> have a custom patch such that sys_fsync just returns true, no matter what.
Mhh.. would it be something like this?
--- buffer.c.old 2005-11-16 02:36:46.129829994 +0100
+++ buffer.c 2005-11-16 02:37:11.125079752 +0100
@@ -376,7 +376,7 @@
asmlinkage long sys_fsync(unsigned int fd)
{
- return do_fsync(fd, 0);
+ return 1;
}
What are the implications of doing something like this? Is "sync" going to
stop working or isn't it using this function?
Thanks,
Francesco
--
Dr. Francesco Biscani
Dipartimento di Astronomia
Università di Padova
[EMAIL PROTECTED]