Mikulas Patocka
368b7ec0ce
dm-bufio: fix warnings about duplicate slab caches
...
commit 42964e4b5e upstream.
The commit 4c39529663 adds a warning about duplicate cache names if
CONFIG_DEBUG_VM is selected. These warnings are triggered by the dm-bufio
code. The dm-bufio code allocates a slab cache with each client. It is
not possible to preallocate the caches in the module init function
because the size of auxiliary per-buffer data is not known at this point.
So, this commit changes dm-bufio so that it appends a unique atomic value
to the cache name, to avoid the warnings.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com >
Fixes: 4c39529663 ("slab: Warn on duplicate cache names when DEBUG_VM=y")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-12-05 13:54:07 +01:00
..
2024-07-21 17:56:22 -07:00
2024-10-17 15:26:40 +02:00
2024-08-13 21:14:21 +02:00
2024-02-20 14:22:55 -05:00
2023-03-30 15:57:51 -04:00
2024-04-01 11:53:37 -06:00
2024-12-05 13:54:07 +01:00
2024-12-05 13:54:07 +01:00
2024-12-05 13:54:07 +01:00
2024-07-19 12:08:15 +02:00
2024-02-20 14:22:55 -05:00
2024-12-05 13:54:07 +01:00
2024-07-19 12:08:15 +02:00
2024-07-10 13:10:06 +02:00
2024-06-26 11:32:39 -04:00
2024-07-10 13:10:06 +02:00
2024-05-09 09:10:58 -04:00
2024-02-20 14:22:55 -05:00
2024-07-10 13:10:06 +02:00
2024-07-19 12:08:15 +02:00
2024-02-20 14:22:55 -05:00
2024-07-02 20:53:41 +02:00
2024-10-04 16:38:23 +02:00
2024-07-02 12:00:43 +02:00
2024-08-13 13:51:34 +02:00
2024-02-20 14:22:51 -05:00
2024-06-26 11:32:39 -04:00
2024-02-20 14:22:55 -05:00
2024-05-20 15:51:19 -04:00
2024-02-20 14:22:55 -05:00
2024-07-10 13:10:06 +02:00
2024-02-20 14:22:55 -05:00
2024-02-20 14:22:51 -05:00
2024-07-10 13:10:06 +02:00
2024-02-20 14:22:55 -05:00
2024-10-04 16:38:24 +02:00
2024-02-20 14:22:51 -05:00
2024-05-20 15:51:19 -04:00
2024-01-30 14:06:44 -05:00
2023-03-16 13:37:06 -04:00
2024-07-10 13:10:06 +02:00
2023-04-11 12:09:08 -04:00
2024-07-12 12:39:06 -04:00
2024-05-20 15:51:19 -04:00
2024-07-19 12:08:15 +02:00
2024-07-10 13:10:06 +02:00
2024-11-14 13:21:08 +01:00
2024-07-03 21:41:11 +02:00
2024-07-03 21:41:11 +02:00
2023-06-28 10:43:04 -07:00
2024-10-04 16:38:57 +02:00
2024-07-03 21:41:11 +02:00
2024-07-03 21:41:11 +02:00
2024-02-20 14:22:55 -05:00
2024-05-20 15:51:19 -04:00
2024-07-05 00:42:04 -06:00
2024-02-12 08:41:16 -07:00
2024-07-10 13:10:06 +02:00
2024-11-14 13:21:08 +01:00
2024-07-05 00:42:04 -06:00
2024-07-03 21:41:11 +02:00
2024-02-20 13:43:17 -05:00
2023-12-19 10:16:51 -08:00
2024-06-11 21:22:21 +00:00
2023-07-27 00:13:29 -07:00
2024-07-22 11:32:05 -07:00
2024-07-12 01:30:18 +00:00
2024-10-04 16:38:50 +02:00
2024-07-04 06:20:27 +00:00
2024-06-26 09:37:35 -06:00
2023-06-30 15:43:50 -07:00
2024-02-29 22:49:46 -08:00
2024-08-15 13:38:17 -07:00
2024-02-29 22:49:45 -08:00
2023-11-27 15:49:05 -08:00
2024-03-06 08:59:53 -08:00
2024-07-04 06:35:19 +00:00
2023-11-27 15:49:05 -08:00
2024-11-01 02:02:42 +01:00
2023-07-27 00:13:29 -07:00