xref: /linux/fs/btrfs/direct-io.h (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef BTRFS_DIRECT_IO_H
4 #define BTRFS_DIRECT_IO_H
5 
6 #include <linux/types.h>
7 
8 int __init btrfs_init_dio(void);
9 void __cold btrfs_destroy_dio(void);
10 
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);
13 
14 #endif /* BTRFS_DIRECT_IO_H */
15