open-cas-linux/modules/cas_cache/volume/vol_block_dev_bottom.h
Krzysztof Majzerowicz-Jaszcz f0af7cb52d Open CAS Linux kernel 5.18 support
This patch introduces the support for 5.18 kernel.

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-10-24 09:53:01 +00:00

20 lines
435 B
C

/*
* Copyright(c) 2012-2022 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __VOL_BLOCK_DEV_BOTTOM_H__
#define __VOL_BLOCK_DEV_BOTTOM_H__
#include "../cas_cache.h"
int block_dev_open_object(ocf_volume_t vol, void *volume_params);
void block_dev_close_object(ocf_volume_t vol);
int block_dev_try_get_io_class(struct bio *bio, int *io_class);
int block_dev_init(void);
#endif /* __VOL_BLOCK_DEV_BOTTOM_H__ */