xref: /dragonfly/sys/sys/iosched.h (revision e2f5ccfb)
1 /*
2  * SYS/IOSCHED.H
3  *
4  * I/O Scheduler
5  *
6  * $DragonFly: src/sys/sys/iosched.h,v 1.1 2008/06/28 17:59:47 dillon Exp $
7  */
8 
9 #ifndef _SYS_IOSCHED_H_
10 #define _SYS_IOSCHED_H_
11 
12 #if defined(_KERNEL) || defined(_KERNEL_STRUCTURES)
13 
14 #ifndef _SYS_TYPES_H_
15 #include <sys/types.h>
16 #endif
17 #ifndef _SYS_QUEUE_H_
18 #include <sys/queue.h>
19 #endif
20 #ifndef _SYS_SYSTIMER_H_
21 #include <sys/systimer.h>
22 #endif
23 
24 struct iosched_data {
25     int		iorbytes;
26     int		iowbytes;
27 };
28 
29 #endif	/* _KERNEL || _KERNEL_STRUCTURES */
30 
31 #ifdef _KERNEL
32 
33 void    bwillwrite(int bytes);
34 void    bwillread(int bytes);
35 void    bwillinode(int count);
36 
37 #endif
38 
39 #endif
40 
41