In an attempt to use the default flavor for both crimson and classic,
we can no longer rely on flavors to enable crimson flags.
The existing CRIMSON_COMPAT env variable is defined under "workunit",
and is not supported by tasks/ceph. Instead, introduce, a dedicated
crimson_compat option supported by tasks/ceph.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
debug ms: 20
seastore cachepin size pershard: 64M
seastore max concurrent transactions: 8
+ crimson_compat: true
workunit:
env:
CRIMSON_COMPAT: '1'
def is_crimson(config):
- return config.get('flavor', 'default') == 'crimson-debug' or \
- config.get('flavor', 'default') == 'crimson-release'
-
+ return config.get('crimson_compat', False)
def maybe_redirect_stderr(config, type_, args, log_path):
if type_ == 'osd' and is_crimson(config):