]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: update segment on ETableServer replay
authorSage Weil <sage@newdream.net>
Wed, 3 Dec 2008 20:26:24 +0000 (12:26 -0800)
committerSage Weil <sage@newdream.net>
Wed, 3 Dec 2008 20:26:24 +0000 (12:26 -0800)
commite934ea67d5fc55614f116626c8f64e0805488483
tree81fbd5bea1c6bda93d343fd8278dc46169fc3453
parent3780abb8e985b98f0a6167b7412eeb1badf0be38
mds: update segment on ETableServer replay

Otherwise we may forget to flush table changes to disk before
trimming.

Also, clean up code a bit to use update_segment() whenever
possible (instead of duplicating the specific LogSegment update).
src/mds/journal.cc