[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ext4
Subject:    [Ext2-devel] Linux performance bug: fsync() for files with zero links
From:       Victor Porton <porton () ex-code ! com>
Date:       2006-02-25 0:32:51
Message-ID: E1FCnMh-0000tb-00 () porton ! narod ! ru
[Download RAW message or body]

Linux kernel (as of 2.6.15.4) has the following performance bug:

Syncing (fsync() or fdatasync()) files with zero links (deleted files) in not
no-op, as it should be.

See details, a test C program, and the rationale in the URL below:

http://b2e.ex-code.com/index.php/soft/2006/02/24/linux_performance_bug_zero_links_fsync

In the article with the URL above it is also explained how to make much more
efficient /tmp directory when this bug will be fixed.

Somebody please make a patch.

-- 
Victor Porton (porton@ex-code.com) - http://porton.ex-code.com


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Ext2-devel mailing list
Ext2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ext2-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic