linux/drivers/target/target_core_file.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef TARGET_CORE_FILE_H
#define TARGET_CORE_FILE_H

#include <target/target_core_base.h>

#define FD_VERSION

#define FD_MAX_DEV_NAME
#define FD_MAX_DEV_PROT_NAME
#define FD_DEVICE_QUEUE_DEPTH
#define FD_MAX_DEVICE_QUEUE_DEPTH
#define FD_BLOCKSIZE
/*
 * Limited by the number of iovecs (2048) per vfs_[writev,readv] call
 */
#define FD_MAX_BYTES

#define RRF_EMULATE_CDB
#define RRF_GOT_LBA

#define FBDF_HAS_PATH
#define FBDF_HAS_SIZE
#define FDBD_HAS_BUFFERED_IO_WCE
#define FDBD_HAS_ASYNC_IO
#define FDBD_FORMAT_UNIT_SIZE

struct fd_dev {} ____cacheline_aligned;

struct fd_host {} ____cacheline_aligned;

#endif /* TARGET_CORE_FILE_H */