https://bugs.winehq.org/show_bug.cgi?id=45599
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- Apparently O_DIRECT adds strict requirement of an aligned buffer passed to write/pwrite and current code simply is not prepared for that. This patch set should be fixed by removing the server part (and completely omitting the O_DIRECT requirements as a result).