On Thu, May 26, 2022 at 08:18:05PM +0530, Ankit Kumar wrote:
From: Anuj Gupta <anuj20.g@xxxxxxxxxxx> Add a new I/O engine (io_uring_cmd) for sending uring passthrough commands. It will also use most of the existing helpers from the I/O engine io_uring. The I/O preparation, completion, file open, file close and post init paths are going to differ and hence io_uring_cmd will have its own helper for them. Add a new io_uring_cmd engine specific option to support nvme
Is "-cmd_type=nvme" the specific option? Putting it here in the message should help.
passthrough commands. Filename name for this specific option must specify nvme-ns generic character device (dev/ngXnY). This provides io_uring_cmd I/O engine a bandwidth to support various passthrough commands in future. The engine_pos and engine_data fields in struct fio_file are separated now. This will help I/O engine io_uring_cmd to store specific data as well as keep track of register files. The supported options for io_uring_cmd I/O engine are: * registerfiles * sqthread_poll * sqthread_poll_cpu * cmd_type * nonvectored * force_async
Since this code seems to support passing other options (e.g. fixedbufs, hipri etc.) too, above comment is bit confusing. If it is about listing what kernel supports at the moment, this seems misplaced.