[Bug 2578] file write performance over NFS very poor due to dup+write+close
http://bugs.winehq.org/show_bug.cgi?id=2578 ------- Additional Comments From greg(a)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.
participants (1)
-
Wine Bugs