[PATCH v2 0/2] uring-passthrough for admin commands

Christoph Hellwig hch at lst.de
Fri May 20 02:15:14 PDT 2022


On Fri, May 20, 2022 at 01:51:34PM +0530, Kanchan Joshi wrote:
> Sure. By free, you mean this I suppose: 
> --- a/drivers/nvme/host/ioctl.c
> +++ b/drivers/nvme/host/ioctl.c
> @@ -699,6 +699,9 @@ int nvme_dev_uring_cmd(struct io_uring_cmd *ioucmd, unsigned int issue_flags)
>        case NVME_URING_CMD_ADMIN:
>                ret = nvme_uring_cmd_io(ctrl, NULL, ioucmd, issue_flags, false);
>                break;
> +       case NVME_URING_CMD_ADMIN_VEC:
> +               ret = nvme_uring_cmd_io(ctrl, NULL, ioucmd, issue_flags, true);
> +               break;
>
> anything else? I will fold this in, and submit v3 before Jens takes a
> look.

We need a definition for NVME_URING_CMD_ADMIN_VEC, but yes, that's it.



More information about the Linux-nvme mailing list