make vfs & filesystems use failable copying
[minix3.git] / lib / libblockdriver / const.h
blob1b3495bfa798fae74f1075cfd2daf01da4edcca1
1 #ifndef _BLOCKDRIVER_CONST_H
2 #define _BLOCKDRIVER_CONST_H
4 /* Thread stack size. */
5 #define STACK_SIZE 8192
7 /* Maximum number of devices supported. */
8 #define MAX_DEVICES BLOCKDRIVER_MAX_DEVICES
10 /* The maximum number of worker threads per device. */
11 #define MAX_WORKERS 32
13 #define MAX_THREADS (MAX_DEVICES * MAX_WORKERS) /* max nr of threads */
14 #define MAIN_THREAD (MAX_THREADS) /* main thread ID */
15 #define SINGLE_THREAD (0) /* single-thread ID */
17 #endif /* _BLOCKDRIVER_CONST_H */