linux-yocto/include/linux/ceph
Xiubo Li fb98248fc4 ceph: try to allocate a smaller extent map for sparse read
[ Upstream commit aaefabc4a5 ]

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: 18d44c5d06 ("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
..
auth.h
buffer.h
ceph_debug.h
ceph_features.h
ceph_frag.h
ceph_fs.h Revert "ceph: make members in struct ceph_mds_request_args_ext a union" 2023-09-18 12:04:50 +02:00
ceph_hash.h
cls_lock_client.h
debugfs.h
decode.h
libceph.h
mdsmap.h ceph: pass the mdsc to several helpers 2024-04-27 17:11:29 +02:00
messenger.h libceph: just wait for more data to be available on the socket 2024-02-16 19:10:53 +01:00
mon_client.h
msgpool.h
msgr.h
osd_client.h ceph: try to allocate a smaller extent map for sparse read 2025-01-02 10:31:59 +01:00
osdmap.h
pagelist.h
rados.h libceph: add CEPH_OSD_OP_ASSERT_VER support 2023-08-24 11:24:35 +02:00
string_table.h
striper.h
types.h