[PATCH v4 1/3] io_uring: Create a helper to return the SQE size
Ming Lei
ming.lei at redhat.com
Thu May 4 07:39:28 PDT 2023
On Thu, May 04, 2023 at 05:18:54AM -0700, Breno Leitao wrote:
> Create a simple helper that returns the size of the SQE. The SQE could
> have two size, depending of the flags.
>
> If IO_URING_SETUP_SQE128 flag is set, then return a double SQE,
> otherwise returns the sizeof of io_uring_sqe (64 bytes).
>
> Signed-off-by: Breno Leitao <leitao at debian.org>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: Ming Lei <ming.lei at redhat.com>
Thanks,
Ming
More information about the Linux-nvme
mailing list