From 594753751a2a306e6391b2f2bf82e043c86224ff Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 8 Dec 2011 21:24:08 +0000 Subject: Only use built-in stack size in clvmd - ignore lvm.conf. --- lib/commands/toolcontext.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/commands/toolcontext.h') diff --git a/lib/commands/toolcontext.h b/lib/commands/toolcontext.h index 143a9a0e..6fba6869 100644 --- a/lib/commands/toolcontext.h +++ b/lib/commands/toolcontext.h @@ -85,6 +85,7 @@ struct cmd_context { unsigned partial_activation:1; unsigned si_unit_consistency:1; unsigned metadata_read_only:1; + unsigned threaded:1; /* Set if running within a thread e.g. clvmd */ unsigned independent_metadata_areas:1; /* Active formats have MDAs outside PVs */ @@ -117,7 +118,8 @@ struct cmd_context { */ struct cmd_context *create_toolcontext(unsigned is_long_lived, const char *system_dir, - unsigned set_buffering); + unsigned set_buffering, + unsigned threaded); void destroy_toolcontext(struct cmd_context *cmd); int refresh_toolcontext(struct cmd_context *cmd); int refresh_filters(struct cmd_context *cmd); -- cgit