Skip to content
Snippets Groups Projects
Commit d5403331 authored by Moe Jette's avatar Moe Jette
Browse files

just add a comment

parent f96e6668
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,8 @@ extern int fsync_and_close(int fd, char *file_type)
{
int rc = 0, retval, pos;
/* SLURM state save files are typically stored on shared filesystems,
* so lets give fysync() three tries to sync the data to disk. */
for (retval = 1, pos = 1; retval && pos < 4; pos++) {
retval = fsync(fd);
if (retval && (errno != EINTR)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment