[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2b1e23c3-71a3-2d5c-05c5-4aa393aee19b@kernel.dk>
Date: Mon, 27 Jan 2020 17:29:21 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>, io-uring@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/2] io-wq sharing
On 1/27/20 5:15 PM, Pavel Begunkov wrote:
> rip-off of Jens io-wq sharing patches allowing multiple io_uring
> instances to be bound to a single io-wq. The differences are:
> - io-wq, which we would like to be shared, is passed as io_uring fd
> - fail, if can't share. IMHO, it's always better to fail fast and loud
>
> I didn't tested it after rebasing, but hopefully won't be a problem.
>
> p.s. on top of ("io_uring/io-wq: don't use static creds/mm assignments")
Applied with the following changes:
- Return -EINVAL for invalid ringfd when attach is specified
- Remove the wq_fd check for attach not specified
Tested here, works for me. Pushing out the updated test case.
--
Jens Axboe
Powered by blists - more mailing lists