dm: conditionally enable branching for less used features
authorMike Snitzer <snitzer@kernel.org>
Sat, 26 Mar 2022 18:14:00 +0000 (14:14 -0400)
committerMike Snitzer <snitzer@kernel.org>
Thu, 5 May 2022 21:31:34 +0000 (17:31 -0400)
commit442761fd2b297d65d1cb5786249e1e07a19e9122
tree5f2b1b8f1c25cd74c1e2c0af3ce2e6fed3941c5b
parent563a225c9fd207326c2a2af9d59b4097cb31ce70
dm: conditionally enable branching for less used features

Use jump_labels to further reduce cost of unlikely branches for zoned
block devices, dm-stats and swap_bios throttling.

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-core.h
drivers/md/dm-stats.c
drivers/md/dm-table.c
drivers/md/dm.c