Xiubo Li
fb98248fc4
ceph: try to allocate a smaller extent map for sparse read
...
[ Upstream commit aaefabc4a5f7ae48682c4d2d5d10faaf95c08eb9 ]
In fscrypt case and for a smaller read length we can predict the
max count of the extent map. And for small read length use cases
this could save some memories.
[ idryomov: squash into a single patch to avoid build break, drop
redundant variable in ceph_alloc_sparse_ext_map() ]
Signed-off-by: Xiubo Li <xiubli@redhat.com >
Reviewed-by: Ilya Dryomov <idryomov@gmail.com >
Signed-off-by: Ilya Dryomov <idryomov@gmail.com >
Stable-dep-of: 18d44c5d062b ("ceph: allocate sparse_ext map only for sparse reads")
Signed-off-by: Sasha Levin <sashal@kernel.org >
2025-01-02 10:31:59 +01:00
..
2024-11-22 15:38:37 +01:00
2024-11-08 16:28:20 +01:00
2024-12-27 13:58:54 +01:00
2024-12-09 10:31:45 +01:00
2025-01-02 10:31:59 +01:00
2024-08-19 06:04:25 +02:00
2024-10-04 16:29:48 +02:00
2024-01-20 11:51:37 +01:00
2024-12-14 20:00:02 +01:00
2024-10-04 16:29:48 +02:00
2024-12-27 13:58:50 +01:00
2024-12-09 10:32:11 +01:00
2024-12-09 10:32:45 +01:00
2024-08-03 08:54:15 +02:00
2024-12-09 10:32:42 +01:00
2024-12-14 20:00:15 +01:00
2024-10-22 15:46:20 +02:00
2024-12-09 10:31:45 +01:00
2024-09-12 11:11:26 +02:00
2024-12-14 20:00:13 +01:00
2024-08-03 08:54:15 +02:00
2024-12-09 10:31:45 +01:00
2024-08-03 08:54:22 +02:00
2024-02-23 09:25:16 +01:00
2024-11-08 16:28:19 +01:00
2024-04-13 13:07:34 +02:00
2024-10-10 11:57:50 +02:00
2024-12-14 20:00:21 +01:00
2024-12-14 20:00:07 +01:00
2024-08-29 17:33:33 +02:00
2024-08-19 06:04:23 +02:00
2024-12-27 13:58:55 +01:00
2024-12-09 10:33:09 +01:00
2024-12-27 13:58:56 +01:00
2024-12-14 20:00:05 +01:00
2024-12-14 20:00:15 +01:00
2024-12-14 20:00:22 +01:00
2024-06-12 11:11:30 +02:00
2024-07-11 12:49:08 +02:00
2024-12-09 10:33:08 +01:00
2024-12-09 10:33:07 +01:00
2024-04-13 13:07:31 +02:00
2024-12-09 10:33:01 +01:00
2024-08-19 06:04:26 +02:00
2024-08-19 06:04:25 +02:00
2024-12-27 13:58:54 +01:00
2024-09-12 11:11:39 +02:00
2024-04-27 17:11:41 +02:00
2024-04-13 13:07:34 +02:00
2024-09-12 11:11:27 +02:00
2024-12-09 10:32:55 +01:00
2024-11-01 01:58:28 +01:00
2024-12-14 20:00:20 +01:00
2024-05-17 12:02:13 +02:00
2024-06-16 13:47:33 +02:00
2024-12-27 13:58:46 +01:00
2024-02-23 09:25:13 +01:00
2024-04-03 15:28:44 +02:00
2024-08-29 17:33:33 +02:00
2024-09-12 11:11:29 +02:00
2024-08-19 06:04:30 +02:00
2024-08-29 17:33:27 +02:00
2024-08-19 06:04:29 +02:00
2024-11-08 16:28:19 +01:00
2024-07-25 09:50:54 +02:00
2024-12-27 13:58:57 +01:00
2024-11-01 01:58:27 +01:00
2024-10-04 16:29:56 +02:00
2024-08-19 06:04:28 +02:00
2024-10-10 11:58:00 +02:00
2024-06-27 13:49:00 +02:00
2024-12-09 10:31:41 +01:00
2024-01-31 16:18:54 -08:00
2024-01-05 15:19:40 +01:00
2024-07-27 11:34:10 +02:00
2024-10-04 16:29:48 +02:00
2024-10-04 16:28:51 +02:00
2024-11-01 01:58:32 +01:00
2024-04-10 16:35:57 +02:00
2024-03-26 18:19:17 -04:00
2023-12-03 07:33:03 +01:00
2024-08-19 06:04:25 +02:00
2024-07-18 13:21:22 +02:00
2024-09-12 11:11:38 +02:00