Merge tag 'io_uring-5.12-2021-03-05' of git://git.kernel.dk/linux-block
Pull io_uring fixes from Jens Axboe: "A bit of a mix between fallout from the worker change, cleanups and reductions now possible from that change, and fixes in general. In detail: - Fully serialize manager and worker creation, fixing races due to that. - Clean up some naming that had gone stale. - SQPOLL fixes. - Fix race condition around task_work rework that went into this merge window. - Implement unshare. Used for when the original task does unshare(2) or setuid/seteuid and friends, drops the original workers and forks new ones. - Drop the only remaining piece of state shuffling we had left, which was cred. Move it into issue instead, and we can drop all of that code too. - Kill f_op->flush() usage. That was such a nasty hack that we had out of necessity, we no longer need it. - Following from ->flush() removal, we can also drop various bits of ctx state...
Showing
- fs/io-wq.c 121 additions, 140 deletionsfs/io-wq.c
- fs/io-wq.h 2 additions, 3 deletionsfs/io-wq.h
- fs/io_uring.c 205 additions, 295 deletionsfs/io_uring.c
- include/linux/io_uring.h 1 addition, 1 deletioninclude/linux/io_uring.h
- include/linux/sched/task.h 2 additions, 0 deletionsinclude/linux/sched/task.h
- kernel/fork.c 30 additions, 0 deletionskernel/fork.c
Please register or sign in to comment