Re: [PATCH REPOST] rbd: assign watch request more directly

2013-01-16 Thread Josh Durgin
On 01/04/2013 07:07 AM, Alex Elder wrote: Both rbd_req_sync_op() and rbd_do_request() have a linger parameter, which is the address of a pointer that should refer to the osd request structure used to issue a request to an osd. Only one case ever supplies a non-null linger argument: an

[PATCH REPOST] rbd: assign watch request more directly

2013-01-04 Thread Alex Elder
Both rbd_req_sync_op() and rbd_do_request() have a linger parameter, which is the address of a pointer that should refer to the osd request structure used to issue a request to an osd. Only one case ever supplies a non-null linger argument: an CEPH_OSD_OP_WATCH start. And in that one case it is