rbd: move remaining osd op setup into rbd_osd_req_op_create()
authorAlex Elder <elder@inktank.com>
Tue, 20 Nov 2012 04:55:21 +0000 (22:55 -0600)
committerAlex Elder <elder@inktank.com>
Thu, 17 Jan 2013 22:34:59 +0000 (16:34 -0600)
commit5efea49a98d1a3b3a7301d3a17f826ad4c31b290
tree3c85d7a5e3406b6eb95a7a4c7174acf45a45bf95
parent2647ba38100765298fc67ce1ec5d32e80d9fe046
rbd: move remaining osd op setup into rbd_osd_req_op_create()

The two remaining osd ops used by rbd are CEPH_OSD_OP_WATCH and
CEPH_OSD_OP_NOTIFY_ACK.  Move the setup of those operations into
rbd_osd_req_op_create(), and get rid of rbd_create_rw_op() and
rbd_destroy_op().

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c