Only fsync leveldb's directory when the manifest is being updated.
commit4b50bd14f1aba682cb53bf2d036f85b94208c9e7
authordgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 7 Jun 2013 01:36:31 +0000 (7 01:36 +0000)
committerdgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 7 Jun 2013 01:36:31 +0000 (7 01:36 +0000)
tree8a6cb7fc5b6d7987ba62c2718e297070ce6aa396
parent7735a67baee596f52d9d627e8c728b9488addd46
Only fsync leveldb's directory when the manifest is being updated.

That is, when the manifest is being updated and new have files
have been created since the last directory fsync.

BUG=242269
R=jsbell@chromium.org

Review URL: https://codereview.chromium.org/15843010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204688 0039d316-1c4b-4281-b951-d872f2087c98
third_party/leveldatabase/env_chromium.cc
third_party/leveldatabase/env_chromium.h
third_party/leveldatabase/env_chromium_unittest.cc