1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef BTRFS_DIRECT_IO_H
4 #define BTRFS_DIRECT_IO_H
6 #include <linux/types.h>
8 int __init
btrfs_init_dio(void);
9 void __cold
btrfs_destroy_dio(void);
11 ssize_t
btrfs_direct_write(struct kiocb
*iocb
, struct iov_iter
*from
);
12 ssize_t
btrfs_direct_read(struct kiocb
*iocb
, struct iov_iter
*to
);
14 #endif /* BTRFS_DIRECT_IO_H */