]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/NewStore: delay the read of all the overlays until wal applying
authorZhiqiang Wang <zhiqiang.wang@intel.com>
Wed, 29 Apr 2015 06:32:25 +0000 (14:32 +0800)
committerSage Weil <sage@redhat.com>
Tue, 1 Sep 2015 17:39:42 +0000 (13:39 -0400)
commit02d0ef8fe00c66d638a844220188f1f438989242
treedcd844a13eaa4262fdbaeff80edcfe44c19e608c
parente3abf245ba4a555b695a437fa488ca41b36c2c77
os/NewStore: delay the read of all the overlays until wal applying

The read of all the overlays can be delayed until applying the wal. If
we are doing async wal apply, this can reduce write op latency by
eliminating unnecessary reads in the write code path.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
src/os/newstore/NewStore.cc
src/os/newstore/NewStore.h