Commit | Line | Data |
---|---|---|
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 | namespace lttng { | |
12 | namespace io { | |
13 | ||
14 | void hint_flush_range_dont_need_sync(int fd, off_t offset, off_t nbytes); | |
15 | void hint_flush_range_sync(int fd, off_t offset, off_t nbytes); | |
16 | void hint_flush_range_async(int fd, off_t offset, off_t nbytes); | |
17 | ||
18 | } /* namespace io */ | |
19 | } /* namespace lttng */ | |
20 | ||
21 | #endif |