Ming Lei a650628bde block: move submit_bio_checks() into submit_bio_noacct
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.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220216044514.2903784-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-02-16 19:42:27 -07:00
..
2022-02-02 07:49:59 -07:00
2021-11-29 06:41:29 -07:00
2021-08-18 07:21:12 -06:00
2021-12-06 13:18:47 -07:00
2020-03-17 20:55:21 +01:00
2021-09-14 00:22:15 -04:00
2022-02-02 07:49:59 -07:00
2021-10-18 06:17:01 -06:00
2022-02-02 07:49:59 -07:00
2022-02-02 07:49:59 -07:00
2022-01-12 10:26:52 -08:00
2021-11-29 06:34:50 -07:00
2022-02-02 07:49:59 -07:00