From 956bc3d5945c40f221d4fb9a7a7d28fc373beec2 Mon Sep 17 00:00:00 2001 From: Niu Yawei Date: Mon, 30 Nov 2026 03:09:44 -0500 Subject: [PATCH] DAOS-19801 vos: lost VOS_POOL_FEAT_2_2 Restore the lost VOS_POOL_FEAT_2_2 VOS feature. Signed-off-by: Niu Yawei --- src/vos/vos_pool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vos/vos_pool.c b/src/vos/vos_pool.c index e03853e5980..d02763668ea 100644 --- a/src/vos/vos_pool.c +++ b/src/vos/vos_pool.c @@ -1,6 +1,6 @@ /** * (C) Copyright 2016-2025 Intel Corporation. - * (C) Copyright 2025 Hewlett Packard Enterprise Development LP + * (C) Copyright 2025-2026 Hewlett Packard Enterprise Development LP * * SPDX-License-Identifier: BSD-2-Clause-Patent */ @@ -1422,7 +1422,7 @@ pool_open(void *ph, struct vos_pool_df *pool_df, unsigned int flags, void *metri pool->vp_small = !!(flags & VOS_POF_SMALL); pool->vp_rdb = !!(flags & VOS_POF_RDB); if (pool_df->pd_version >= VOS_POOL_DF_2_4) - pool->vp_feats |= VOS_POOL_FEAT_2_4; + pool->vp_feats |= (VOS_POOL_FEAT_2_4 | VOS_POOL_FEAT_2_2); if (pool_df->pd_version >= VOS_POOL_DF_2_6) pool->vp_feats |= VOS_POOL_FEAT_2_6;