File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -991,7 +991,7 @@ static void clone_endio(struct bio *bio)
991
991
disable_write_zeroes (md );
992
992
}
993
993
994
- if (blk_queue_is_zoned (q ))
994
+ if (unlikely ( blk_queue_is_zoned (q ) ))
995
995
dm_zone_endio (io , bio );
996
996
997
997
if (endio ) {
@@ -1288,7 +1288,7 @@ static void __map_bio(struct bio *clone)
1288
1288
* on zoned target. In this case, dm_zone_map_bio() calls the target
1289
1289
* map operation.
1290
1290
*/
1291
- if (dm_emulate_zone_append (io -> md ))
1291
+ if (unlikely ( dm_emulate_zone_append (io -> md ) ))
1292
1292
r = dm_zone_map_bio (tio );
1293
1293
else
1294
1294
r = ti -> type -> map (ti , clone );
@@ -1631,7 +1631,7 @@ static void dm_submit_bio(struct bio *bio)
1631
1631
* Use blk_queue_split() for abnormal IO (e.g. discard, writesame, etc)
1632
1632
* otherwise associated queue_limits won't be imposed.
1633
1633
*/
1634
- if (is_abnormal_io (bio ))
1634
+ if (unlikely ( is_abnormal_io (bio ) ))
1635
1635
blk_queue_split (& bio );
1636
1636
1637
1637
dm_split_and_process_bio (md , map , bio );
You can’t perform that action at this time.
0 commit comments