Skip to content

Commit

Permalink
DAOS-14491: Retain support for phase-1 DAV heap
Browse files Browse the repository at this point in the history
Addressed review comments and increased the timeout of
bdev unit test with memcheck to accomodate new tests added.

Signed-off-by: Sherin T George <sherin-t.george@hpe.com>
  • Loading branch information
sherintg committed Oct 18, 2023
1 parent 4a0bede commit 0f3d386
Show file tree
Hide file tree
Showing 49 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ pipeline {
}
steps {
job_step_update(
unitTest(timeout_time: 60,
unitTest(timeout_time: 120,
unstash_opt: true,
ignore_failure: true,
inst_repos: prRepos(),
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav/bucket.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2022, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* bucket.c -- bucket implementation
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav/bucket.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2021, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* bucket.h -- internal definitions for bucket
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav/dav.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2022, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* dav_flags.h -- Interfaces exported by DAOS internal Allocator for VOS (DAV)
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav/dav_internal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2022, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* dav_flags.h -- Interfaces exported by DAOS internal Allocator for VOS (DAV)
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav/heap.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2022, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* heap.c -- heap implementation
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav/heap.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2021, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* heap.h -- internal definitions for heap
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav/obj.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2014-2021, Intel Corporation */
/* Copyright 2014-2023, Intel Corporation */

/*
* obj.h -- internal definitions for obj module
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav/palloc.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2022, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* palloc.c -- implementation of pmalloc POSIX-like API
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav/palloc.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2020, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* palloc.h -- internal definitions for persistent allocator
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav/recycler.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2016-2022, Intel Corporation */
/* Copyright 2016-2023, Intel Corporation */

/*
* recycler.c -- implementation of run recycler
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav/recycler.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2016-2021, Intel Corporation */
/* Copyright 2016-2023, Intel Corporation */

/*
* recycler.h -- internal definitions of run recycler
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav/tx.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2022, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* tx.c -- transactions implementation
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DAOS Allocator for VOS

The DAV alloctor for md_on_ssd phase 2 now supports evictable zones. This introduces change in the
The DAV allocator for md_on_ssd phase 2 now supports evictable zones. This introduces change in the
layout of heap and is not compatible with the DAV allocator of phase 1. In order to support both
layouts the new allocator is packaged as a different library and linked to daos_common_pmem
library.
2 changes: 1 addition & 1 deletion src/common/dav_v2/alloc_class.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2016-2022, Intel Corporation */
/* Copyright 2016-2023, Intel Corporation */

/*
* alloc_class.c -- implementation of allocation classes
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/alloc_class.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2016-2020, Intel Corporation */
/* Copyright 2016-2023, Intel Corporation */

/*
* alloc_class.h -- internal definitions for allocation classes
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/container.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2020, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* container.h -- internal definitions for block containers
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/container_ravl.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2018-2022, Intel Corporation */
/* Copyright 2018-2023, Intel Corporation */

/*
* container_ravl.c -- implementation of ravl-based block container
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/container_seglists.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2022, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* container_seglists.c -- implementation of segregated lists block container
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/critnib.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2018-2022, Intel Corporation */
/* Copyright 2018-2023, Intel Corporation */

/*
* critnib.c -- implementation of critnib tree
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/critnib.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2018-2020, Intel Corporation */
/* Copyright 2018-2023, Intel Corporation */

/*
* critnib.h -- internal definitions for critnib tree
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/dav_clogs.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (C) Copyright 2015-2022 Intel Corporation.
* (C) Copyright 2015-2023 Intel Corporation.
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*/
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/dav_clogs.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2022, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* dav_iface.h -- Interfaces exported by DAOS internal Allocator for VOS (DAV)
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/dav_internal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2022, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* dav_flags.h -- Interfaces exported by DAOS internal Allocator for VOS (DAV)
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/heap_layout.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2020, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* heap_layout.h -- internal definitions for heap layout
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/memblock.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2016-2021, Intel Corporation */
/* Copyright 2016-2023, Intel Corporation */

/*
* memblock.c -- implementation of memory block
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/memblock.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2016-2021, Intel Corporation */
/* Copyright 2016-2023, Intel Corporation */

/*
* memblock.h -- internal definitions for memory block
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/memops.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2016-2022, Intel Corporation */
/* Copyright 2016-2023, Intel Corporation */

/*
* memops.c -- aggregated memory operations helper implementation
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/memops.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2016-2020, Intel Corporation */
/* Copyright 2016-2023, Intel Corporation */

/*
* memops.h -- aggregated memory operations helper definitions
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/mo_wal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2016-2020, Intel Corporation */
/* Copyright 2016-2023, Intel Corporation */

#ifndef __DAOS_COMMON_MO_WAL_H
#define __DAOS_COMMON_MO_WAL_H 1
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/out.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2014-2021, Intel Corporation */
/* Copyright 2014-2023, Intel Corporation */

/*
* out.h -- definitions for "out" module
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/palloc.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2020, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* palloc.h -- internal definitions for persistent allocator
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/ravl.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2018-2022, Intel Corporation */
/* Copyright 2018-2023, Intel Corporation */

/*
* ravl.c -- implementation of a RAVL tree
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/ravl.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2018-2021, Intel Corporation */
/* Copyright 2018-2023, Intel Corporation */

/*
* ravl.h -- internal definitions for ravl tree
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/ravl_interval.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2020-2022, Intel Corporation */
/* Copyright 2020-2023, Intel Corporation */

/*
* ravl_interval.c -- ravl_interval implementation
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/ravl_interval.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2020-2021, Intel Corporation */
/* Copyright 2020-2023, Intel Corporation */

/*
* ravl_interval.h -- internal definitions for ravl_interval
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/stats.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2017-2021, Intel Corporation */
/* Copyright 2017-2023, Intel Corporation */

/*
* stats.c -- implementation of statistics
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/stats.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2017-2021, Intel Corporation */
/* Copyright 2017-2023, Intel Corporation */

/*
* stats.h -- definitions of statistics
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/sys_util.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2016-2020, Intel Corporation */
/* Copyright 2016-2023, Intel Corporation */

/*
* sys_util.h -- internal utility wrappers around system functions
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/tx.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2016-2020, Intel Corporation */
/* Copyright 2016-2023, Intel Corporation */

/*
* tx.h -- internal definitions for transactions
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/ulog.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2022, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* ulog.c -- unified log implementation
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/ulog.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2021, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* ulog.h -- unified log public interface
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/util.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2014-2022, Intel Corporation */
/* Copyright 2014-2023, Intel Corporation */

/*
* util.c -- very basic utilities
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/util.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2014-2021, Intel Corporation */
/* Copyright 2014-2023, Intel Corporation */
/*
* Copyright (c) 2016-2020, Microsoft Corporation. All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/valgrind_internal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2021, Intel Corporation */
/* Copyright 2015-2023, Intel Corporation */

/*
* valgrind_internal.h -- internal definitions for valgrind macros
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/vec.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2017-2020, Intel Corporation */
/* Copyright 2017-2023, Intel Corporation */

/*
* vec.h -- vector interface
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/vecq.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2018-2020, Intel Corporation */
/* Copyright 2018-2023, Intel Corporation */

/*
* vecq.h -- vector queue (FIFO) interface
Expand Down
2 changes: 1 addition & 1 deletion src/common/dav_v2/wal_tx.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (C) Copyright 2021-2022 Intel Corporation.
* (C) Copyright 2021-2023 Intel Corporation.
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*/
Expand Down
2 changes: 1 addition & 1 deletion utils/rpms/daos.spec
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ getent passwd daos_agent >/dev/null || useradd -s /sbin/nologin -r -g daos_agent
# No files in a shim package

%changelog
* Wed Oct 16 2023 Sherin T George <sherin-t.george@hpe.com> 2.5.100-10
* Mon Oct 16 2023 Sherin T George <sherin-t.george@hpe.com> 2.5.100-10
- The modified DAV allocator with memory bucket support for md_on_ssd
phase-2 is delivered as dav_v2.so.

Expand Down

0 comments on commit 0f3d386

Please sign in to comment.