commit | dc8470f3c831c93ffcda17612e8e58a73210b88b | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu Jan 19 11:21:29 2017 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Mar 12 06:41:53 2017 +0100 |
tree | 29dab873b757d8f184b57fc4798010eb389cf457 | |
parent | 27ab5414b980b19ba127cb518546d628f40bd3dc [diff] |
ceph: update readpages osd request according to size of pages commit d641df819db8b80198fd85d9de91137e8a823b07 upstream. add_to_page_cache_lru() can fails, so the actual pages to read can be smaller than the initial size of osd request. We need to update osd request size in that case. Signed-off-by: Yan, Zheng <zyan@redhat.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>