dm-flakey: start allocating with MAX_ORDER
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 28 Nov 2023 13:48:06 +0000 (14:48 +0100)
committerMike Snitzer <snitzer@kernel.org>
Wed, 29 Nov 2023 20:47:55 +0000 (15:47 -0500)
commit41e05548fa6b069a2b895cf4c7bd9ad618b21e2f
tree8137d95e93703bce607d3e41805d8082f73b5b0b
parent38bc1ab135db87577695816b190e7d6d8ec75879
dm-flakey: start allocating with MAX_ORDER

Commit 23baf831a32c ("mm, treewide: redefine MAX_ORDER sanely")
changed the meaning of MAX_ORDER from exclusive to inclusive. So, we
can allocate compound pages with up to 1 << MAX_ORDER pages.

Reflect this change in dm-flakey and start trying to allocate compound
pages with MAX_ORDER.

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