Hello Dan Burkert,

I'd like you to do a code review. Please visit

    http://gerrit.cloudera.org:8080/9128

to review the following change.


Change subject: env: properly use fdatasync on Linux
......................................................................

env: properly use fdatasync on Linux

A previous commit attempted to make env OSX-compatible by checking
whether fdatasync was defined and using fsync in the case that it was
not. However, that commit was buggy since it used #ifndef. fdatasync is
never a preprocessor macro, so it never was "defined" and we always
ended up using fsync regardless of the FLAGS_env_use_fsync value.

Change-Id: I366df37670ec241cbee6dcfe0efa56af7189e9a2
---
M src/kudu/util/env_posix.cc
1 file changed, 2 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/28/9128/1
--
To view, visit http://gerrit.cloudera.org:8080/9128
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I366df37670ec241cbee6dcfe0efa56af7189e9a2
Gerrit-Change-Number: 9128
Gerrit-PatchSet: 1
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>

Reply via email to