By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 467 - Kmail fsync() unnecessary
Summary: Kmail fsync() unnecessary
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdepim (show other bugs)
Version: 3.5.12 [Trinity]
Hardware: All Linux
: P5 enhancement
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2011-04-25 19:27 CDT by Vladimir Kanazir
Modified: 2012-10-19 15:32 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kanazir 2011-04-25 19:27:14 CDT
Could you, please, disable fsync() for cached IMAP? When you have a lot of folders sync with the server can takes awhile with great disk I/O performance penality (especially on ext3 filesystem). As IMAP already keeps our e-mail on the server, there is no need for such security.

Problematic fsync() is located in kdepim/kmailkmfoldercachedimap.cpp, line 445 (at least, it was in KDE 3.5.10). I disabled it about two years ago and used kmail without problems all this time.

Thanks!
Vladimir Kanazir
Comment 1 Timothy Pearson 2012-06-29 22:43:25 CDT
I agree that the fsync() is not needed, and judging from the comment next to the call the original developers also thought the same thing.

Fixed in GIT hash 82d4a93.

Thanks for reporting and testing!