[Bug 14914] files are created as sparse files when they shouldn't

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Aug 22 07:28:55 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=14914


Damjan Jovanovic <damjan.jov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damjan.jov at gmail.com




--- Comment #19 from Damjan Jovanovic <damjan.jov at gmail.com>  2008-08-22 07:28:54 ---
On Linux 2.4 kernels sendfile() would always fail when writing to a sparse
region of a file, but on 2.6 kernels sendfile() only works from a file to a
socket so that's not a problem. Wine doesn't use sendfile(), but other software
using files created by Wine could: Java did at some stage but recent versions
fall back to traditional I/O when it fails. Thus a sparse region could cause
trouble on older setups, but that problem is hardly Wine specific.

Native Linux filesystems should minimize fragmentation with random writes to a
sparse file, so this seem more of a *nix/NTFS interoperability issue; on *nix
sparse files are a long standing default, while on NTFS they seem to be a badly
supported opt-in novelty.

Use a better filesystem or defragment often.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list