[RFC 2/5] fs: add file_operations->async_cmd()
Christoph Hellwig
hch at lst.de
Mon Apr 4 00:09:10 PDT 2022
On Fri, Apr 01, 2022 at 04:33:07PM +0530, Kanchan Joshi wrote:
> From: Jens Axboe <axboe at kernel.dk>
>
> This is a file private handler, similar to ioctls but hopefully a lot
> more sane and useful.
Without the next patch this is rather pointless (and confusing), so
I'd suggest to move it into that.
> int (*fadvise)(struct file *, loff_t, loff_t, int);
> + int (*async_cmd)(struct io_uring_cmd *ioucmd);
Given that it takes a io_uring_cmd argument I also thnink that the
name is a bit misleading. Caling this uring_cmd or io_uring_cmd
would be more descriptive.
More information about the Linux-nvme
mailing list