Only sync parent directory once after a leveldb file rename.
commitb871b360ea4bb73ec539db8a10f1ba47e0eb1e33
authordgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 22 May 2013 01:20:42 +0000 (22 01:20 +0000)
committerdgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 22 May 2013 01:20:42 +0000 (22 01:20 +0000)
tree7dc445539ad747d44abc56fd2c3a45ecd771aa61
parent4dacf9a507dbfa3754f145d9fda4348faeef2057
Only sync parent directory once after a leveldb file rename.

This should prevent ~2 fsyncs when opening a leveldb.

BUG=242269

Review URL: https://chromiumcodereview.appspot.com/15591003

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