Re: [PATCH] Ceph: allocate non-zero page to fscache in readpage()

2013-11-09 Thread Milosz Tanski
Li, that's a good good catch. On Fri, Nov 8, 2013 at 9:26 PM, Li Wang liw...@ubuntukylin.com wrote: 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: Li Wang liw...@ubuntukylin.com ---

[PATCH] Ceph: allocate non-zero page to fscache in readpage()

2013-11-08 Thread Li Wang
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: Li Wang liw...@ubuntukylin.com --- fs/ceph/addr.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ceph/addr.c