Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: only calculate part_in_flight() once
We first check if we have inflight IO, then retrieve that same number again. Usually this isn't that costly since the chance of having the data dirtied in between is small, but there's no reason for calling part_in_flight() twice. Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information