
Now the request can be pushed to a high priority queue (instead of ocf_queue_push_req_front) and to a low priority queue (instead of ocf_queue_push_req_back). Both functions were merged into one function (ocf_queue_push_req) and instead of the allow_sync parameter there is now a flags parameter that can be an OR combination of OCF_QUEUE_ALLOW_SYNC and OCF_QUEUE_PRIO_HIGH Signed-off-by: Ian Levine <ian.levine@huawei.com> Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
17 lines
349 B
C
17 lines
349 B
C
/*
|
|
* Copyright(c) 2012-2021 Intel Corporation
|
|
* Copyright(c) 2024 Huawei Technologies
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef ENGINE_OFF_H_
|
|
#define ENGINE_OFF_H_
|
|
|
|
int ocf_read_pt(struct ocf_request *req);
|
|
|
|
int ocf_read_pt_do(struct ocf_request *req);
|
|
|
|
void ocf_queue_push_req_pt(struct ocf_request *req);
|
|
|
|
#endif /* ENGINE_OFF_H_ */
|