diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2024-12-07 17:33:25 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2024-12-16 23:25:44 +0100 |
commit | 18d44c5d062b97b97bb0162d9742440518958dc1 (patch) | |
tree | 7d1d96ea4c9d8179850d04d151d7c3ece38770a6 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
parent | 66e0c4f91461d17d48071695271c824620bed4ef (diff) | |
download | linux-18d44c5d062b97b97bb0162d9742440518958dc1.tar.gz linux-18d44c5d062b97b97bb0162d9742440518958dc1.tar.bz2 linux-18d44c5d062b97b97bb0162d9742440518958dc1.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions