]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
MDS: Don't always _commit_full just because we have a complete dir.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Thu, 10 Feb 2011 21:23:44 +0000 (13:23 -0800)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Fri, 11 Feb 2011 21:56:45 +0000 (13:56 -0800)
commit74c4d867d6407d03a9a2f9182cdca4071816ca8e
treeb757fb692dc1c71e1b98363912b034647456417c
parent7fea444bb67181610b96a1ba1be693a38a3b3571
MDS: Don't always _commit_full just because we have a complete dir.

Instead, commit if a certain percentage of the dentries are dirty.
Configurable via mds_dir_commit_ratio!

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/config.cc
src/config.h
src/mds/CDir.cc