On Wed, 24 Nov 2021 07:28:56 +0100, Christoph Hellwig wrote: > Refactor the request alloction so that blk_mq_get_cached_request tries > to find a cached request first, and the entirely separate and now > self contained blk_mq_get_new_requests allocates one or more requests > if that is not possible. > > There is a small change in behavior as submit_bio_checks is called > twice now if a cached request is present but can't be used, but that > is a small price to pay for unwinding this code. > > [...] Applied, thanks! [1/1] blk-mq: cleanup request allocation commit: f1880d26e517a3fe2fd0c32bcbe05e9230a441cf Best regards, -- Jens Axboe