summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-01-24 08:53:35 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-01-28 10:50:31 +0100
commitd38ecf935fcb10264a6bc190855d9595165e6eeb (patch)
tree64e3146ef76678ad3ae8f75c32df9f25ea470953 /fs
parentioprio: move io priority from task_struct to io_context (diff)
downloadlinux-d38ecf935fcb10264a6bc190855d9595165e6eeb.tar.xz
linux-d38ecf935fcb10264a6bc190855d9595165e6eeb.zip
io context sharing: preliminary support
Detach task state from ioc, instead keep track of how many processes are accessing the ioc. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/ioprio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ioprio.c b/fs/ioprio.c
index a7600401ecf7..06b5d97c5fdd 100644
--- a/fs/ioprio.c
+++ b/fs/ioprio.c
@@ -54,7 +54,6 @@ static int set_task_ioprio(struct task_struct *task, int ioprio)
break;
}
task->io_context = ioc;
- ioc->task = task;
} while (1);
if (!err) {