Message ID | 6c1c67fc-1fa-d9b7-6ce2-ed4f21381d9a@redhat.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Mike Snitzer |
Headers | show |
Series | dm-flakey: start allocating with MAX_ORDER | expand |
Index: linux-2.6/drivers/md/dm-flakey.c =================================================================== --- linux-2.6.orig/drivers/md/dm-flakey.c 2023-09-05 14:45:58.000000000 +0200 +++ linux-2.6/drivers/md/dm-flakey.c 2023-11-28 14:41:03.000000000 +0100 @@ -434,7 +434,7 @@ static struct bio *clone_bio(struct dm_t remaining_size = size; - order = MAX_ORDER - 1; + order = MAX_ORDER; while (remaining_size) { struct page *pages; unsigned size_to_add, to_copy;