rbd: introduce rbd_obj_issue_copyup_ops()
authorIlya Dryomov <idryomov@gmail.com>
Thu, 28 Feb 2019 09:49:12 +0000 (10:49 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 5 Mar 2019 17:55:17 +0000 (18:55 +0100)
commit3a482501cf701f56a454f9397aa96f477db87769
tree0b5eaafe99b81cdd7cc79aa85fd7f9a57fdcf4c2
parent13488d53775ba5f82dc4075c424d06dfe4b6b162
rbd: introduce rbd_obj_issue_copyup_ops()

In preparation for deep-flatten feature, split rbd_obj_issue_copyup()
into two functions and add a new write state to make the state machine
slightly more clear.  Make the copyup op optional and start using that
for when the overlap goes to 0.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c