* fsync vs fdatasync on Linux
@ 2001-02-18 12:22 Denis Perchine
2001-02-18 12:41 ` Denis Perchine
0 siblings, 1 reply; 2+ messages in thread
From: Denis Perchine @ 2001-02-18 12:22 UTC (permalink / raw)
To: linux-kernel
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?
--
Sincerely Yours,
Denis Perchine
----------------------------------
E-Mail: dyp@perchine.com
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
----------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: fsync vs fdatasync on Linux
2001-02-18 12:22 fsync vs fdatasync on Linux Denis Perchine
@ 2001-02-18 12:41 ` Denis Perchine
0 siblings, 0 replies; 2+ messages in thread
From: Denis Perchine @ 2001-02-18 12:41 UTC (permalink / raw)
To: linux-kernel
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
----------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-02-18 12:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-18 12:22 fsync vs fdatasync on Linux Denis Perchine
2001-02-18 12:41 ` Denis Perchine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox