Ilya Dryomov 0192ce2ee6 rbd: introduce image request state machine
Make it possible to schedule image requests on a workqueue.  This fixes
parent chain recursion added in the previous commit and lays the ground
for exclusive lock wait/wake improvements.

The "wait for pending subrequests and report first nonzero result" code
is generalized to be used by object request state machine.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2019-07-08 14:01:44 +02:00
..
2019-04-22 09:47:36 -06:00
2018-10-17 09:42:30 -06:00
2018-10-17 09:42:30 -06:00
2017-02-20 12:16:15 +01:00
2018-11-09 08:14:14 -07:00
2018-10-26 14:36:21 -07:00