Commits
Vasily Tarasov authored and Pavel Emelianov committed 67b80a9ea60
This patch just moves required declarations and definitions from cfq-iosched.c to external cfq-iosched.h file. This patchset introduces I/O prioritization for beancounters. The feature is implemented on basis of CFQ I/O scheduler. In CFQ I/O scheduler each process obtains a time slice, which duration depends on priority of the process. We use the same approach for UBs. All the logic of I/O scheduling for processes belonging to particular UB is preserved. So we obtain something like 2-level CFQ scheduling. Priority of beancounter is in the range [0..8], the more this digit is, the longer is time slice.