]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: flush log in caller(s), not scatter_writebehind
authorSage Weil <sage@newdream.net>
Mon, 14 Sep 2009 22:34:47 +0000 (15:34 -0700)
committerSage Weil <sage@newdream.net>
Mon, 14 Sep 2009 22:34:47 +0000 (15:34 -0700)
commit147f25a4547b98ae66b44f11c72e539e6648f2ba
tree48d10f568009ac52206623743405ca768a6f30bb
parentac49cccc5791828f1dab71f752b80282abcc8e2f
mds: flush log in caller(s), not scatter_writebehind

Otherwise scatter_tick(), in particular, will call scatter_writebehind
a zillion times and generate lots of small log flushes.  Instead, flush
at the end of the whole tick.
src/mds/Locker.cc
src/mds/journal.cc