lkml.org 
[lkml]   [2001]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: fsync vs fdatasync on Linux
Date
On Sunday 18 February 2001 18:22, Denis Perchine wrote:
> Hello,
>
> as fas as I can see from fdatasync man page, and from the latest kernel
> sources (2.4.1ac3, fs/buffer.c), they are equivalent.
>
> Using of fdatasync in database can gain significant gain on systems which
> supports it (on HP it gains up to 25% with pg_bench on PostgreSQL 7.1b5).
>
> Are there any plans to implement this correctly? And due to what problems
> it was not implemented yet?

Forget this crap. Seems I missed these lines:
err = file->f_op->fsync(file, dentry, 0);
err = file->f_op->fsync(file, dentry, 1);

--
Sincerely Yours,
Denis Perchine

----------------------------------
E-Mail: dyp@perchine.com
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
----------------------------------
-
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:15    [W:0.101 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site