ocf/src/engine/engine_d2c.h
Robert Baldyga 7d53dd1e41 Handle D2C early and fast
Avoid unnecessary code execution in D2C mode.
Avoid multiple req->d2c check in normal I/O path.

Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-09-19 23:58:26 +02:00

17 lines
355 B
C

/*
* Copyright(c) 2012-2021 Intel Corporation
* Copyright(c) 2024 Huawei Technologies
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef ENGINE_2DC_H_
#define ENGINE_2DC_H_
int ocf_d2c_io_fast(struct ocf_request *req);
int ocf_d2c_flush_fast(struct ocf_request *req);
int ocf_d2c_discard_fast(struct ocf_request *req);
#endif /* ENGINE_2DC_H_ */