]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: Add config option for log segment size
authorSam Lang <sam.lang@inktank.com>
Wed, 6 Mar 2013 17:40:49 +0000 (11:40 -0600)
committerSam Lang <sam.lang@inktank.com>
Sat, 16 Mar 2013 16:45:36 +0000 (11:45 -0500)
commitba5c935e78f70674e7661576b1c18e211a2f32a2
treef5e82de3f21d4cf6d3e580013d20dfe096c6de7c
parent2678db532a3c68ce636323a2afa11d74b2903f32
mds: Add config option for log segment size

The mds log segment size is chosen from the
default layout object size (4MB).  Add a parameter
to the config to enable setting the log segment
size to an alternate value.

If the config option to set the journal log segment
size is specified, the log layout must be modified
both for the object size and the striping unit size.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/common/config_opts.h
src/mds/MDCache.cc