]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
filestore: set min flush size
authorSage Weil <sage@newdream.net>
Mon, 7 May 2012 21:37:38 +0000 (14:37 -0700)
committerSage Weil <sage@inktank.com>
Sat, 30 Jun 2012 17:31:25 +0000 (10:31 -0700)
commit398a229c0ed66b37fe53fcc4217e3c6c9354c895
tree8344fffc3c04893b71cfdb710e4d8349e30043b6
parentcc4955a5f9db9884b350f7fb4df2a471688f6cbb
filestore: set min flush size

If a write is smaller than some threshold, do not bother to flush it; let
the fs do that (efficiently, we hope) at commit time.  Focus on the big
writes.

Signed-off-by: Sage Weil <sage@newdream.net>
src/common/config_opts.h
src/os/FileStore.cc
src/os/FileStore.h