On Tue, Jan 11, 2022 at 07:55:26PM +0800, Ming Lei wrote: > It is more clean & readable to check bio when starting to submit it, > instead of just before calling ->submit_bio() or blk_mq_submit_bio(). > > Also it provides us chance to optimize bio submission without checking > bio. This looks ok, but I'd just remove submit_bio_checks entirely while we're at it.