| 1 | /* |
| 2 | * Copyright (C) 2023 Michael Jeanson <mjeanson@efficios.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: LGPL-2.1-only |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef _LTTNG_IO_HINT_H |
| 9 | #define _LTTNG_IO_HINT_H |
| 10 | |
| 11 | #include <sys/types.h> |
| 12 | |
| 13 | namespace lttng { |
| 14 | namespace io { |
| 15 | |
| 16 | void hint_flush_range_dont_need_sync(int fd, off_t offset, off_t nbytes); |
| 17 | void hint_flush_range_sync(int fd, off_t offset, off_t nbytes); |
| 18 | void hint_flush_range_async(int fd, off_t offset, off_t nbytes); |
| 19 | |
| 20 | } /* namespace io */ |
| 21 | } /* namespace lttng */ |
| 22 | |
| 23 | #endif |