[PATCH 14/17] io_uring: add polling support for uring-cmd
Christoph Hellwig
hch at lst.de
Wed Mar 23 23:30:45 PDT 2022
On Wed, Mar 16, 2022 at 10:39:05AM +0530, Kanchan Joshi wrote:
> So how about adding ->async_cmd_poll in file_operations (since this
> corresponds to ->async_cmd)?
> It will take struct io_uring_cmd pointer as parameter.
> Both ->iopoll and ->async_cmd_poll will differ in what they accept (kiocb
> vs io_uring_cmd). The provider may use bio_poll, or whatever else is the
> implementation detail.
That does sound way better than the current version at least.
More information about the Linux-nvme
mailing list