Suppress sync engine QD > 1 warning if io_submit_mode is offload
authorHorshack <horshack@live.com>
Thu, 9 Feb 2023 16:31:55 +0000 (11:31 -0500)
committerHorshack <horshack@live.com>
Thu, 9 Feb 2023 16:42:28 +0000 (11:42 -0500)
commitb8d07a36d0391fa4530349f92fd74d0e13d540ba
tree68131bfcc502ece715cf6f7ed1f0a5eacef0bb21
parentf0c8ab1c36369d8d6aa214fba572dacefa3a8677
Suppress sync engine QD > 1 warning if io_submit_mode is offload

The user is warned if iodepth > 1 when using a synchronous I/O engine,
since the engine can only submit one I/O at a time. This warning is not
accounting for the case of the user enabling I/O submission offload
threads via io_submit_mode=offload. Modified the warning conditional to
suppress the warning when this is the case.

Signed-off-by: Adam Horshack (horshack@live.com)
backend.c