diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-04-20 11:21:08 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-04-23 14:25:28 +0200 |
| commit | cf0277928fa8d955d75f661021845789194dfff7 (patch) | |
| tree | da392672c936ad9f6a91c2d77c4377a22ac127d4 /src/interfaces/node.cpp | |
| parent | Merge #13021: MOVEONLY: Move logging code from util.{h,cpp} to new files. (diff) | |
| download | discoin-cf0277928fa8d955d75f661021845789194dfff7.tar.xz discoin-cf0277928fa8d955d75f661021845789194dfff7.zip | |
Add logging and error handling for file syncing
Add logging and error handling inside, and outside of FileCommit.
Functions such as fsync, fdatasync will return error in case of hardware
I/O errors, and ignoring this means it can silently continue through
data corruption. (c.f.
https://lwn.net/SubscriberLink/752063/12b232ab5039efbe/)
Diffstat (limited to 'src/interfaces/node.cpp')
0 files changed, 0 insertions, 0 deletions