linux-yocto/net/ceph
Ilya Dryomov d41fa58fca ceph: allocate sparse_ext map only for sparse reads
[ Upstream commit 18d44c5d06 ]

If mounted with sparseread option, ceph_direct_read_write() ends up
making an unnecessarily allocation for O_DIRECT writes.

Fixes: 03bc06c7b0 ("ceph: add new mount option to enable sparse reads")
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Markuze <amarkuze@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-02 10:32:00 +01:00
..
crush
armor.c
auth_none.c
auth_none.h
auth_x_protocol.h
auth_x.c
auth_x.h
auth.c
buffer.c
ceph_common.c
ceph_hash.c
ceph_strings.c
cls_lock_client.c
crypto.c
crypto.h
debugfs.c
decode.c
Kconfig
Makefile
messenger_v1.c
messenger_v2.c libceph: init the cursor when preparing sparse read in msgr2 2024-10-17 15:24:10 +02:00
messenger.c
mon_client.c libceph: fix race between delayed_work() and ceph_monc_stop() 2024-07-18 13:21:22 +02:00
msgpool.c
osd_client.c ceph: allocate sparse_ext map only for sparse reads 2025-01-02 10:32:00 +01:00
osdmap.c
pagelist.c
pagevec.c
snapshot.c
string_table.c
striper.c