Merge tag 'sched-core-2024-09-19' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / block / blk-ioprio.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2
3 #ifndef _BLK_IOPRIO_H_
4 #define _BLK_IOPRIO_H_
5
6 #include <linux/kconfig.h>
7
8 struct request_queue;
9 struct bio;
10
11 #ifdef CONFIG_BLK_CGROUP_IOPRIO
12 void blkcg_set_ioprio(struct bio *bio);
13 #else
14 static inline void blkcg_set_ioprio(struct bio *bio)
15 {
16 }
17 #endif
18
19 #endif /* _BLK_IOPRIO_H_ */