On 1/24/21 6:37 PM, Douglas Gilbert wrote: > Adds hipri option to the Linux sg driver engine. This turns on the > SGV4_FLAG_HIPRI flag in recent sg drivers (January 2021) on READ > and WRITE commands (and not on UNMAP (trim), VERIFY, etc). Uses > blk_poll() and the mq_poll() callback in SCSI LLDs. The mechanism > is also called "iopoll". > > The Linux sg engine in fio uses the struct sg_io_hdr based interface > known as the sg driver "v3" interface. > Linux sg drivers in the kernel prior to January 2021 (sg version > 4.0.12) will just ignore the SGV4_FLAG_HIPRI flag and do normal > completions where LLDs indicate command completion with a (software) > interrupt or similar mechanism. Looks fine, and is consistent with eg io_uring. Can you add the engine specific option to the HOWTO and fio.1 as well? -- Jens Axboe