On 5/25/22 12:41 AM, Kanchan Joshi wrote: > On Tue, May 24, 2022 at 03:37:24PM -0600, Jens Axboe wrote: >> Define and set it when appropriate, and use it consistently in the >> function rather than using io_op_defs[opcode]. > > seems you skipped doing this inside io_alloc_async_data() because > access is not that repetitive. Right, and because it won't get impacted by abstracting out opcode handlers. -- Jens Axboe