File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -991,7 +991,7 @@ static void clone_endio(struct bio *bio)
991991 disable_write_zeroes (md );
992992 }
993993
994- if (blk_queue_is_zoned (q ))
994+ if (unlikely ( blk_queue_is_zoned (q ) ))
995995 dm_zone_endio (io , bio );
996996
997997 if (endio ) {
@@ -1288,7 +1288,7 @@ static void __map_bio(struct bio *clone)
12881288 * on zoned target. In this case, dm_zone_map_bio() calls the target
12891289 * map operation.
12901290 */
1291- if (dm_emulate_zone_append (io -> md ))
1291+ if (unlikely ( dm_emulate_zone_append (io -> md ) ))
12921292 r = dm_zone_map_bio (tio );
12931293 else
12941294 r = ti -> type -> map (ti , clone );
@@ -1631,7 +1631,7 @@ static void dm_submit_bio(struct bio *bio)
16311631 * Use blk_queue_split() for abnormal IO (e.g. discard, writesame, etc)
16321632 * otherwise associated queue_limits won't be imposed.
16331633 */
1634- if (is_abnormal_io (bio ))
1634+ if (unlikely ( is_abnormal_io (bio ) ))
16351635 blk_queue_split (& bio );
16361636
16371637 dm_split_and_process_bio (md , map , bio );
You can’t perform that action at this time.
0 commit comments