Skip to content

Commit

Permalink
rbd: new request handling code
Browse files Browse the repository at this point in the history
The notable changes are:

- instead of explicitly stat'ing the object to see if it exists before
  issuing the write, send the write optimistically along with the stat
  in a single OSD request
- zero copyup optimization
- all object requests are associated with an image request and have
  a valid ->img_request pointer; there are no standalone (!IMG_DATA)
  object requests anymore
- code is structured as a state machine (vs a bunch of callbacks with
  implicit state)

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
  • Loading branch information
Ilya Dryomov committed Apr 2, 2018
1 parent 45a267d commit 3da691b
Showing 1 changed file with 601 additions and 77 deletions.
Loading

0 comments on commit 3da691b

Please sign in to comment.