In system.c for async IO aio_fsync64() called for both cases, 64 and common one. I assume, that in the last case it should be just aio_fsync(). Patch :) is attached.
Created attachment 1332 [details] Fix typo in system.c
Applied, thanks ! Jeremy.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.