Re: [PATCH] io_uring: hide uring_fd in ctx
From: Jens Axboe
Date: Thu Jan 16 2020 - 23:47:34 EST
On 1/16/20 6:45 PM, Pavel Begunkov wrote:
> req->ring_fd and req->ring_file are used only during the prep stage
> during submission, which is is protected by mutex. There is no need
> to store them per-request, place them in ctx.
Thanks, applied.
--
Jens Axboe