commit | fce7a9744bdf3baa9d08c52d2c78f53ab49918a4 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Sat Sep 29 16:02:19 2018 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Oct 22 10:28:20 2018 +0200 |
tree | 790648e3726259f60619a8a8b455f86cef9c37b0 | |
parent | 74c9e6bf4c888e41bc7db340fb94fade96394038 [diff] |
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>