Skip to content
Commit ff638b7d authored by Li Wang's avatar Li Wang Committed by Sage Weil
Browse files

ceph: allocate non-zero page to fscache in readpage()



ceph_osdc_readpages() returns number of bytes read, currently,
the code only allocate full-zero page into fscache, this patch
fixes this.

Signed-off-by: default avatarLi Wang <liwang@ubuntukylin.com>
Reviewed-by: default avatarMilosz Tanski <milosz@adfin.com>
Reviewed-by: default avatarSage Weil <sage@inktank.com>
parent fc55d2c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment