Affects Version/s: None
Fix Version/s: None
**Reported in Launchpad by Laurynas Biveinis last update 19-12-2013 12:59:00
Splitting out the fsync() case out of bug 764395:
[19 Dec 12:46] Laurynas Biveinis
fsync() is documented by POSIX to have EINTR as one of the valid return values . Thus, os_file_fsync() should handle it and retry instead of failing. Note that the same function in mysys (my_sync()) does this.
This was discovered while fixing bug 60788 in Percona Server.
How to repeat:
The function already has a retry loop, add a case for ret == -1 && errno == EINTR.