You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
525 B

Index: libjio/trans.c
--- libjio/trans.c.orig 2009-04-25 19:39:32 +0200
+++ libjio/trans.c 2009-04-25 23:12:08 +0200
@@ -234,8 +234,10 @@
goto rollback_exit;
}
} else {
+#if 0
if (fdatasync(ts->fs->fd) != 0)
goto rollback_exit;
+#endif
}
/* the transaction has been applied, so we cleanup and remove
@@ -517,9 +519,11 @@
if (fs->fd < 0)
return -1;
+#if 0
rv = fdatasync(fs->fd);
if (rv != 0)
return rv;
+#endif
pthread_mutex_lock(&(fs->ltlock));
while (fs->ltrans != NULL) {