------------------------------------------------------------ revno: 8775 committer: Laurynas Biveinis branch nick: mysql-5.7-percona-patches timestamp: Tue 2014-11-04 17:15:16 +0200 message: Fix http://bugs.mysql.com/bug.php?id=71183 (os_file_fsync() should handle fsync() returning EINTR) by repeating the os_file_fsync loop if fsync call failed and returned EINTR in errno. diff: === modified file 'storage/innobase/os/os0file.cc' --- storage/innobase/os/os0file.cc 2014-08-29 06:18:04 +0000 +++ storage/innobase/os/os0file.cc 2014-11-04 15:15:16 +0000 @@ -2285,6 +2285,9 @@ failures++; retry = true; + } else if (ret == -1 && errno == EINTR) { + /* Handle signal interruptions correctly */ + retry = true; } else { retry = false;