On 10/19/21 12:59 PM, Jens Axboe wrote: > Track the current error status of the dio with DIO_ERROR in the flags, > which can then avoid diving into dio->bio for the fast path of not > having any errors. This reduces the overhead of the function nicely, > which was previously dominated by this seemingly cheap check: > > 4.55% -1.13% [kernel.vmlinux] [k] blkdev_bio_end_io_async Disregard, ended up being an older test version. I'll send the right one. -- Jens Axboe