ceph: update readpages osd request according to size of pages
[linux-2.6-block.git] / fs / ceph / addr.c
index 39852567d66e8382c520bebd88b60b380e152832..4547bbf80e4f4ba62bc06d8acb5431a4c4bf04f7 100644 (file)
@@ -391,6 +391,7 @@ static int start_read(struct inode *inode, struct list_head *page_list, int max)
                        nr_pages = i;
                        if (nr_pages > 0) {
                                len = nr_pages << PAGE_SHIFT;
+                               osd_req_op_extent_update(req, 0, len);
                                break;
                        }
                        goto out_pages;