Skip to content

Commit

Permalink
rbd: support for object-map and fast-diff
Browse files Browse the repository at this point in the history
Speed up reads, discards and zeroouts through RBD_OBJ_FLAG_MAY_EXIST
and RBD_OBJ_FLAG_NOOP_FOR_NONEXISTENT based on object map.

Invalid object maps are not trusted, but still updated.  Note that we
never iterate, resize or invalidate object maps.  If object-map feature
is enabled but object map fails to load, we just fail the requester
(either "rbd map" or I/O, by way of post-acquire action).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
  • Loading branch information
idryomov committed Jul 8, 2019
1 parent da5ef6b commit 22e8bd5
Show file tree
Hide file tree
Showing 6 changed files with 794 additions and 3 deletions.
Loading

0 comments on commit 22e8bd5

Please sign in to comment.