Artifacts Associated With Ticket 2685590fffffffffffffffffffffffffffffffff
Ticket change [b4127be501] (rid 124961) by srtech on 2009-03-12 20:11:47:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
With the advent of new file systems such as Ext4, the time between file system syncs will increase to improve performance. At the Tcl script level, it may be advantageous to have an option to fsync a file on close, or fsync after a write. kbk: suggested fconfigure $chan -synconclose 0 ƎƎ: suggested fconfigure $chan -synconwrite 1 as well. kbk: responded with [chan sync $chan] as synconwrite would be a bit excessive; explicit-sync makes more sense.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "srtech"
- subsystem initialized to: "24. Channel Commands"
- title initialized to: "expose fsync() to the tcl level"
- type initialized to: "RFE"
Ticket change [4cd7a63f10] (rid 126958) by ferrieux on 2009-03-13 05:46:17:
- icomment:
One thing to consider also is the stability of the channel API. Two options at the C level: - either grow the channeltype vector (just like for truncate) with a DriverFsyncProc - or reuse DriverSetOptionsProc with binary option "synconflush" Note that "synconflush" can emulate both "synconwrite" and "synconclose". But I'm not advocating one over the other...(it may be felt that growing the channeltype costs nothing).
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [e430598af8] (rid 87915) by dkf on 2009-03-13 16:05:27:
- icomment:
If you really need things to work properly, use sqlite3 which gets the synching right.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment: