rbd: new request completion code
authorIlya Dryomov <idryomov@gmail.com>
Thu, 1 Feb 2018 10:50:47 +0000 (11:50 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 2 Apr 2018 08:12:41 +0000 (10:12 +0200)
commit7114edac357b8cc27cf95a4d7eed75d07c41970d
treed03bbcc1fc3c5cffa5cdd72d63a8eb974a70f122
parentefbd1a1106f15f9260c7cb9a67f5c380a39b4fcc
rbd: new request completion code

Do away with partial request completions and all the associated
complexity.  Individual object requests no longer need to be completed
in order -- when the last one becomes ready, we complete the entire
higher level request all at once.

This also wraps up the conversion to a state machine model and
eliminates the recursion described in commit 6d69bb536bac ("rbd:
prevent kernel stack blow up on rbd map").

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