libceph: allow setting osd_req_op's flags
Signed-off-by: Yan, Zheng <zyan@redhat.com> Reviewed-by: Alex Elder <elder@linaro.org>
This commit is contained in:
@@ -884,7 +884,8 @@ get_more_pages:
|
||||
}
|
||||
|
||||
if (do_sync)
|
||||
osd_req_op_init(req, 1, CEPH_OSD_OP_STARTSYNC);
|
||||
osd_req_op_init(req, 1,
|
||||
CEPH_OSD_OP_STARTSYNC, 0);
|
||||
|
||||
req->r_callback = writepages_finish;
|
||||
req->r_inode = inode;
|
||||
|
Reference in New Issue
Block a user