Coly Li
f155eb0fa3
bcache: allocate meta data pages as compound pages
...
commit 5fe4886785 upstream.
There are some meta data of bcache are allocated by multiple pages,
and they are used as bio bv_page for I/Os to the cache device. for
example cache_set->uuids, cache->disk_buckets, journal_write->data,
bset_tree->data.
For such meta data memory, all the allocated pages should be treated
as a single memory block. Then the memory management and underlying I/O
code can treat them more clearly.
This patch adds __GFP_COMP flag to all the location allocating >0 order
pages for the above mentioned meta data. Then their pages are treated
as compound pages now.
Signed-off-by: Coly Li <colyli@suse.de >
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-05-16 08:48:03 +09:00
..
2023-05-16 08:46:09 +09:00
2023-05-15 17:13:36 +09:00
2023-05-16 08:21:44 +09:00
2023-05-16 08:45:16 +09:00
2023-05-16 08:39:06 +09:00
2023-05-15 16:46:34 +09:00
2023-05-16 08:29:24 +09:00
2023-05-15 16:30:44 +09:00
2023-05-15 17:13:43 +09:00
2023-05-15 16:21:24 +09:00
2023-05-16 08:46:11 +09:00
2023-05-16 08:19:45 +09:00
2023-05-15 17:33:19 +09:00
2023-05-15 17:14:58 +09:00
2023-05-15 17:34:06 +09:00
2023-05-16 08:47:23 +09:00
2023-05-15 16:58:51 +09:00
2023-05-16 08:38:23 +09:00
2023-05-15 16:17:55 +09:00
2023-05-16 08:45:34 +09:00
2023-05-16 08:19:49 +09:00
2023-05-15 16:31:00 +09:00
2023-05-16 08:29:32 +09:00
2023-05-16 08:45:31 +09:00
2023-05-16 08:46:45 +09:00
2023-05-16 08:38:20 +09:00
2023-05-16 08:31:03 +09:00
2023-05-15 17:11:00 +09:00
2023-05-16 08:44:34 +09:00
2023-05-15 16:59:25 +09:00
2023-05-16 08:47:47 +09:00
2023-05-16 08:21:33 +09:00
2023-05-16 08:30:59 +09:00
2023-05-15 17:30:21 +09:00
2023-05-16 08:31:09 +09:00
2023-05-15 16:15:52 +09:00
2023-05-16 08:46:35 +09:00
2023-05-15 17:34:39 +09:00
2023-05-15 14:08:07 +09:00
2023-05-16 08:48:03 +09:00
2023-05-16 08:46:30 +09:00
2023-05-15 14:51:01 +09:00
2023-05-16 08:29:41 +09:00
2023-05-16 08:18:29 +09:00
2023-05-16 08:46:23 +09:00
2023-05-15 17:34:04 +09:00
2023-05-16 08:45:03 +09:00
2023-05-16 08:47:52 +09:00
2023-05-16 08:44:30 +09:00
2023-05-15 15:18:34 +09:00
2023-05-15 17:29:23 +09:00
2023-05-15 16:46:52 +09:00
2023-05-15 17:31:34 +09:00
2023-05-15 17:16:01 +09:00
2023-05-16 08:47:32 +09:00
2023-05-15 16:19:36 +09:00
2023-05-16 08:47:41 +09:00
2023-05-15 14:09:37 +09:00
2023-05-15 15:10:20 +09:00
2023-05-16 08:47:11 +09:00
2023-05-16 08:45:44 +09:00
2023-05-16 08:46:54 +09:00
2023-05-15 14:08:51 +09:00
2023-05-15 17:27:25 +09:00
2023-05-15 17:22:46 +09:00
2023-05-15 17:29:33 +09:00
2023-05-15 16:58:29 +09:00
2023-05-15 17:23:50 +09:00
2023-05-15 15:12:21 +09:00
2023-05-15 17:15:54 +09:00
2023-05-16 08:46:58 +09:00
2023-05-16 08:46:49 +09:00
2023-05-15 17:15:58 +09:00
2023-05-16 08:31:13 +09:00
2023-05-16 08:46:42 +09:00
2023-05-15 17:24:14 +09:00
2023-05-16 08:30:36 +09:00
2023-05-15 14:55:28 +09:00
2023-05-16 08:38:44 +09:00
2023-05-16 08:31:00 +09:00
2023-05-16 08:47:17 +09:00
2023-05-16 08:19:24 +09:00
2023-05-15 17:25:24 +09:00
2023-05-16 08:46:15 +09:00
2023-05-15 16:16:07 +09:00
2023-05-15 16:59:11 +09:00
2023-05-15 17:34:48 +09:00
2023-05-16 08:19:37 +09:00
2023-05-16 08:47:37 +09:00