mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
fd0928df98
commit
d38ecf935f
5 changed files with 49 additions and 23 deletions
|
@ -805,7 +805,6 @@ static int copy_io(struct task_struct *tsk)
|
|||
if (unlikely(!tsk->io_context))
|
||||
return -ENOMEM;
|
||||
|
||||
tsk->io_context->task = tsk;
|
||||
tsk->io_context->ioprio = ioc->ioprio;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue