dm: shortcut the calls to linear_map and stripe_map
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 18 Sep 2023 15:33:29 +0000 (17:33 +0200)
committerMike Snitzer <snitzer@kernel.org>
Fri, 6 Oct 2023 23:09:25 +0000 (19:09 -0400)
commitf1445032173d4a49eb8b4a0808db499966897d9a
treea6d1d00afab88cece6d22d4caf63c06b08227689
parent3da5d2de92387a8322965c7fb1365f7cae690e5a
dm: shortcut the calls to linear_map and stripe_map

Shortcut the calls to linear_map and stripe_map, so that they don't suffer
the overhead of retpolines used for indirect calls.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-linear.c
drivers/md/dm-stripe.c
drivers/md/dm.c
drivers/md/dm.h