rbd: move OSD request allocation into object request state machines
authorIlya Dryomov <idryomov@gmail.com>
Wed, 12 Jun 2019 16:33:31 +0000 (18:33 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 8 Jul 2019 12:01:44 +0000 (14:01 +0200)
commita086a1b8bdbd14a59b8a4cd979d5c7894e3af59e
treea3915d063ac0e60263078aff5bb4bc71c0a367d6
parent27bbd911624891ccb17980ff784d68e6f470b92b
rbd: move OSD request allocation into object request state machines

Following submission, move initial OSD request allocation into object
request state machines.  Everything that has to do with OSD requests is
now handled inside the state machine, all __rbd_img_fill_request() has
left is initialization.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
drivers/block/rbd.c