mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04: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…
Reference in a new issue