Make mmap2 stdio do an fdatasync when the -sync option is given

Signed-off-by: Olaf Kirch <okir@suse.de>
mmap2: add lock delay reporting

Signed-off-by: Olaf Kirch <okir@suse.de>