mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
ceph: refactor ceph_sync_read()
Avoid allocating memory for the entire user request: striped_read() does a synchronous OSD request per object, so it doesn't need more than object size worth of pages at a time. [ Preserve the comment, changelog. ] Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
74c9e6bf4c
commit
fce7a9744b
1 changed files with 106 additions and 113 deletions
219
fs/ceph/file.c
219
fs/ceph/file.c
Loading…
Add table
Add a link
Reference in a new issue