head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2009.06.30.21.36.26; author rse; state Exp; branches; next 1.1; commitid bYssIJxzD0GavVTt; 1.1 date 2009.03.30.19.47.10; author rse; state Exp; branches; next ; commitid WmlfzSr1icd2R5It; desc @@ 1.2 log @upgrading package: libjio 0.25 -> 0.51 @ text @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) { @ 1.1 log @upgrading package: libjio 0.24 -> 0.25 @ text @d2 6 a7 6 --- libjio/trans.c.orig 2009-03-29 06:31:21 +0200 +++ libjio/trans.c 2009-03-30 21:40:55 +0200 @@@@ -421,8 +421,10 @@@@ ts->fs->ltrans = linger; pthread_mutex_unlock(&(ts->fs->ltlock)); } else { d9 2 a10 2 if (fdatasync(ts->fs->fd) != 0) goto rollback_exit; d12 1 d15 12 a26 1 * it from the disk */ @