On Mon, Apr 21, 2025 at 05:46:40PM -0600, Uday Shankar wrote: > Move the logic for the UBLK_IO_COMMIT_AND_FETCH_REQ opcode into its own > function. This also allows us to mark ublk_queue pointers as const for > that operation, which can help prevent data races since we may allow > concurrent operation on one ublk_queue in the future. Also open code > ublk_commit_completion in ublk_commit_and_fetch to reduce the number of > parameters/avoid a redundant lookup. > > Suggested-by: Ming Lei <ming.lei@xxxxxxxxxx> > Signed-off-by: Uday Shankar <ushankar@xxxxxxxxxxxxxxx> > Reviewed-by: Caleb Sander Mateos <csander@xxxxxxxxxxxxxxx> Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx> Thanks, Ming