On Sat, 10 Jun 2023 08:59:14 +0900, Shin'ichiro Kawasaki wrote: > Coverity reported a defect related to the local variable "in_flight": > > Using an unreliable value of "in_flight" inside the second locked > section. If the data that "in_flight" depends on was changed by > another thread, this use might be incorrect. > > The variable "in_flight" is thread local and other threads can not > change its value. Then the report should be false-positive. Just to > suppress the report, change reference timing of the valuable. > > [...] Applied, thanks! [1/1] zbd: avoid Coverity defect report commit: 62ac66490f5077e5fca1bd5b49165147cafc5a0d Best regards, -- Jens Axboe