On Thu, May 04, 2023 at 05:18:55AM -0700, Breno Leitao wrote: > Currently uring CMD operation relies on having large SQEs, but future > operations might want to use normal SQE. > > The io_uring_cmd currently only saves the payload (cmd) part of the SQE, > but, for commands that use normal SQE size, it might be necessary to > access the initial SQE fields outside of the payload/cmd block. So, Looks fine, Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx> BTW, there might be risk[1] when accessing SQE fields which were read by io_uring core code, and I'd suggest to document it in future. [1] https://lore.kernel.org/io-uring/ZDlcXd4K+a2iGbnv@xxxxxxxxxxxxxxxxxxxxxxxxx/ Thanks, Ming