Linux performance bug: fsync() for files with zero links

Victor Porton porton at ex-code.com
Sat Feb 25 00:32:51 UTC 2006


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 at ex-code.com) - http://porton.ex-code.com




More information about the Ext3-users mailing list