[Bug 2578] file write performance over NFS very poor due to dup+write+close
Wine Bugs
wine-bugs at winehq.org
Sun Nov 21 20:14:01 CST 2004
http://bugs.winehq.org/show_bug.cgi?id=2578
------- Additional Comments From greg at electricrain.com 2004-21-11 20:14 -------
Created an attachment (id=715)
--> (http://bugs.winehq.org/attachment.cgi?id=715&action=view)
proposed patch
This patch works great for me. However it may not be perfect in the face of
async io:
I notice that in ntdlls/file.c it stores the file handle from the
handle_to_fd() call in an allocated ovp structure that is passed to
register_new_async(). In that situation a dup() or a new open()+seek() should
probably be done first along with making sure whatever async code uses the fd
cleans it up later when appropriate.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list