diff options
author | Krishnan Parthasarathi <kparthas@redhat.com> | 2012-07-25 16:56:31 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-29 11:24:25 -0700 |
commit | 6a5e047bc56fc80a0f87f3a44056ffc38ba68c25 (patch) | |
tree | 37159a3397830c00afb43410564417a87069a40b /cli/src | |
parent | fa0442e00149b4c8dc6ac21fb0a7742a360c240d (diff) |
glusterd: Ensured 'store' data reaches disk.
- Opened temporary file(s) with O_SYNC flag to avoid explicit fsync'ing.
- Sync'd directory entry after creation and rename of 'store' files.
- Thanks to Jeff Moyer's article on http://lwn.net/Articles/457667/
Change-Id: I68a8672dc6a0b24d128de53f3b60c74dd08d8ab8
BUG: 765434
Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-on: http://review.gluster.com/3726
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'cli/src')
0 files changed, 0 insertions, 0 deletions