// SetDisableDataSync enable/disable data sync. // // If true, then the contents of data files are not synced // to stable storage. Their contents remain in the OS buffers till the // OS decides to flush them. This option is good for bulk-loading // of data. Once the bulk-loading is complete, please issue a // sync to the OS to flush all dirty buffers to stable storage. // Default: false func (opts *Options) SetDisableDataSync(value bool) { C.rocksdb_options_set_disable_data_sync(opts.c, C.int(btoi(value))) }
func (o *Options) SetDisableDataSync(b bool) { C.rocksdb_options_set_disable_data_sync(o.Opt, boolToInt(b)) }