lru: Move partition runtime structures outside of metadata
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
This commit is contained in:
parent
283a897eeb
commit
43cc487c40
@ -1,12 +1,12 @@
|
||||
/*
|
||||
* Copyright(c) 2012-2021 Intel Corporation
|
||||
* Copyright(c) 2024 Huawei Technologies Co., Ltd.
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef __METADATA_PARTITION_H__
|
||||
#define __METADATA_PARTITION_H__
|
||||
|
||||
#include "metadata_partition_structs.h"
|
||||
#include "../ocf_cache_priv.h"
|
||||
|
||||
#define PARTITION_DEFAULT 0
|
||||
|
@ -9,10 +9,10 @@
|
||||
#include "ocf_mngt_core_priv.h"
|
||||
#include "../ocf_priv.h"
|
||||
#include "../ocf_core_priv.h"
|
||||
#include "../ocf_part.h"
|
||||
#include "../ocf_queue_priv.h"
|
||||
#include "../metadata/metadata.h"
|
||||
#include "../metadata/metadata_io.h"
|
||||
#include "../metadata/metadata_partition_structs.h"
|
||||
#include "../engine/cache_engine.h"
|
||||
#include "../utils/utils_user_part.h"
|
||||
#include "../utils/utils_cache_line.h"
|
||||
|
@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright(c) 2012-2022 Intel Corporation
|
||||
* Copyright(c) 2024 Huawei Technologies
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
@ -10,8 +11,8 @@
|
||||
#include "ocf_env.h"
|
||||
#include "ocf_volume_priv.h"
|
||||
#include "ocf_core_priv.h"
|
||||
#include "ocf_part.h"
|
||||
#include "metadata/metadata_structs.h"
|
||||
#include "metadata/metadata_partition_structs.h"
|
||||
#include "utils/utils_list.h"
|
||||
#include "utils/utils_pipeline.h"
|
||||
#include "utils/utils_refcnt.h"
|
||||
|
@ -1,14 +1,15 @@
|
||||
/*
|
||||
* Copyright(c) 2012-2021 Intel Corporation
|
||||
* Copyright(c) 2023-2024 Huawei Technologies Co., Ltd.
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef __METADATA_PARTITION_STRUCTS_H__
|
||||
#define __METADATA_PARTITION_STRUCTS_H__
|
||||
|
||||
#include "../utils/utils_list.h"
|
||||
#include "../cleaning/cleaning.h"
|
||||
#include "../ocf_space.h"
|
||||
#include "utils/utils_list.h"
|
||||
#include "cleaning/cleaning.h"
|
||||
#include "ocf_space.h"
|
||||
|
||||
#define OCF_NUM_PARTITIONS OCF_USER_IO_CLASS_MAX + 2
|
||||
|
Loading…
Reference in New Issue
Block a user