From a0978a63a846e2fe5021b578ff36e2ee3448f559 Mon Sep 17 00:00:00 2001 From: Ali Mohammed <ali.mohammed@hpe.com> Date: Mon, 16 Aug 2021 17:57:32 +0200 Subject: [PATCH] automatically set cdo.isdistributed attribute when user add any cdo.dist.* attribute --- include/maestro/i_attributes.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/maestro/i_attributes.h b/include/maestro/i_attributes.h index dc5d921d..26bfe1db 100644 --- a/include/maestro/i_attributes.h +++ b/include/maestro/i_attributes.h @@ -176,6 +176,13 @@ mstro_status mstro_cdo_attribute_set_isdistributed(mstro_cdo cdo, const char* key); +/* Automaticallly set cdo.isdistributed attributed if the user set any of the + distributed layout attributes */ +static inline +mstro_status +mstro_cdo_attribute_set_isdistributed(mstro_cdo cdo, const char* key); + + /**@} (end of group MSTRO_I_Attributes) */ /**@} (end of addtogroup MSTRO_Internal) */ -- GitLab