Ilya Dryomov 18d44c5d06 ceph: allocate sparse_ext map only for sparse reads
If mounted with sparseread option, ceph_direct_read_write() ends up
making an unnecessarily allocation for O_DIRECT writes.

Fixes: 03bc06c7b0bd ("ceph: add new mount option to enable sparse reads")
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Markuze <amarkuze@redhat.com>
2024-12-16 23:25:44 +01:00
..
2023-11-03 23:28:34 +01:00
2024-11-19 11:47:16 +01:00
2023-11-10 09:52:56 -08:00
2024-11-18 17:34:36 +01:00
2024-11-18 17:34:36 +01:00
2024-11-18 17:34:36 +01:00
2024-11-18 17:34:36 +01:00
2023-08-22 09:01:48 +02:00
2024-11-18 17:34:35 +01:00
2023-11-10 09:52:56 -08:00
2022-03-01 18:26:37 +01:00
2024-11-18 17:34:36 +01:00
2024-11-18 17:34:36 +01:00