On Tue, Oct 19, 2021 at 10:24:19PM +0100, Pavel Begunkov wrote: > Save dio->flags in a variable, so it doesn't reload it a bunch of times. > Also use cached in a var iocb for the same reason. Same question again, does this really make a difference? We really shouldn't have to try to work around the compiler like this (even if this relatively harmless in the end).