commit | 22e8bd51bb0469d1a524130a057f894ff632376a | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Wed Jun 05 19:25:11 2019 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Jul 08 14:01:45 2019 +0200 |
tree | 1cf2eaf3fac621e7154f58a7915e94db5851744e | |
parent | da5ef6be3467eb2d293790dea69b5b562490715a [diff] |
rbd: support for object-map and fast-diff 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>