diff options
| author | Jeff Garzik <[email protected]> | 2012-05-19 01:25:06 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-05-19 01:25:06 -0400 |
| commit | 394b9298faec503f3780645ed17fa00cce6da2dd (patch) | |
| tree | c1b5cbe180e3cafa2ab4658c33001bc2292f50f1 /src/sync.cpp | |
| parent | Merge pull request #1350 from jgarzik/del-deprecated (diff) | |
| download | discoin-394b9298faec503f3780645ed17fa00cce6da2dd.tar.xz discoin-394b9298faec503f3780645ed17fa00cce6da2dd.zip | |
Default to DB_TXN_WRITE_NOSYNC for all transactional operations
* This is safer than DB_TXN_NOSYNC, and does not appear to impact
performance.
* Applying this to the dbenv is necessary to avoid many fdatasync(2)
calls on db 5.x
* We carefully and thoroughly flush databases upon shutdown and
other important events already.
Diffstat (limited to 'src/sync.cpp')
0 files changed, 0 insertions, 0 deletions