Re: [PATCH 0/2] io-uring: cleanup: drop completion upon removal of file

From: Jens Axboe
Date: Mon Mar 23 2020 - 11:57:31 EST


On 3/23/20 3:24 AM, Hillf Danton wrote:
>
> Kudos to the task hung reported by syzbot, and inspired by it, cleanup
> is made for dropping completion when files are removed from the fixed
> fileset. Another cleanup is also proposed for dropping the done field
> in struct io_file_put.
>
> [PATCH 1/2] io_uring: drop completion when removing file
> [PATCH 2/2 RFC] io-uring: drop done in struct io_file_put

I like it - I applied, only changing 'done' to 'free_pfile' to make it
more apparent what it controls. Thanks!

--
Jens Axboe