linux-kernelorg-stable/fs/ceph
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: 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>
2024-12-16 23:25:44 +01:00
..
Kconfig ceph: select FS_ENCRYPTION_ALGS if FS_ENCRYPTION 2024-01-15 15:40:50 +01:00
Makefile
acl.c
addr.c A fix for the mount "device" string parser from Patrick and two cred 2024-11-30 10:22:38 -08:00
cache.c
cache.h
caps.c ceph: improve caps debugging output 2024-11-19 11:47:16 +01:00
ceph_frag.c
crypto.c
crypto.h ceph: miscellaneous spelling fixes 2024-11-18 17:34:36 +01:00
debugfs.c ceph: Use str_true_false() helper in status_show() 2024-11-18 17:34:36 +01:00
dir.c ceph: miscellaneous spelling fixes 2024-11-18 17:34:36 +01:00
export.c ceph: miscellaneous spelling fixes 2024-11-18 17:34:36 +01:00
file.c ceph: allocate sparse_ext map only for sparse reads 2024-12-16 23:25:44 +01:00
inode.c ceph: miscellaneous spelling fixes 2024-11-18 17:34:36 +01:00
io.c
io.h
ioctl.c
ioctl.h
locks.c ceph: adapt to breakup of struct file_lock 2024-02-05 13:11:42 +01:00
mds_client.c ceph: give up on paths longer than PATH_MAX 2024-12-16 23:25:43 +01:00
mds_client.h ceph: Remove fs/ceph deadcode 2024-11-18 17:34:35 +01:00
mdsmap.c ceph: switch to corrected encoding of max_xattr_size in mdsmap 2024-02-26 19:20:30 +01:00
mdsmap.h ceph: switch to corrected encoding of max_xattr_size in mdsmap 2024-02-26 19:20:30 +01:00
metric.c
metric.h
quota.c ceph: fix invalid pointer access if get_quota_realm return ERR_PTR 2024-01-15 15:40:51 +01:00
snap.c
strings.c
super.c ceph: validate snapdirname option length when mounting 2024-12-16 23:25:43 +01:00
super.h ceph: miscellaneous spelling fixes 2024-11-18 17:34:36 +01:00
util.c
xattr.c ceph: miscellaneous spelling fixes 2024-11-18 17:34:36 +01:00