diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-01-05 22:46:26 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-01-05 22:46:26 -0500 |
commit | b3881f74b31b7d47d0f1c4d89ac3e7f0b9c05e3e (patch) | |
tree | 131190b7ec627fd2ef2ecc818a7b9c17b83ccd63 /include/linux/ioprio.h | |
parent | 40a1984d22294ab202f616e432bb8d3481897675 (diff) | |
download | lwn-b3881f74b31b7d47d0f1c4d89ac3e7f0b9c05e3e.tar.gz lwn-b3881f74b31b7d47d0f1c4d89ac3e7f0b9c05e3e.zip |
ext4: Add mount option to set kjournald's I/O priority
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/ioprio.h')
-rw-r--r-- | include/linux/ioprio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ioprio.h b/include/linux/ioprio.h index f98a656b17e5..76dad4808847 100644 --- a/include/linux/ioprio.h +++ b/include/linux/ioprio.h @@ -86,4 +86,6 @@ static inline int task_nice_ioclass(struct task_struct *task) */ extern int ioprio_best(unsigned short aprio, unsigned short bprio); +extern int set_task_ioprio(struct task_struct *task, int ioprio); + #endif |