Hi, Since the new feedback on v1 arrived post v2, here's a v3 that takes it all into account. A few fixes related to the batched allocations: - Have the requests hold a queue reference, flush them on schedule unplug as well. - Make sure the queue matches, could be a mismatch if we're driving multiple devices. Since v2: - Split both alloc handlers into helpers - Retained blk_try_enter_queue() the way that it was, don't want to inline all of bio_queue_enter(). Added justification for that in the commit message. - Add fops based submit_bio helper Since v1: - Reshuffle series to do plug rq alloc helper before enter changes - Protect submit_bio_checks() by queue enter reference as well -- Jens Axboe