]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: make read_iterate iterate over periods
authorSage Weil <sage@inktank.com>
Thu, 4 Oct 2012 00:15:10 +0000 (17:15 -0700)
committerSage Weil <sage@inktank.com>
Mon, 15 Oct 2012 22:34:04 +0000 (15:34 -0700)
commit3ae9f5723ca050b07f8ec1e1838e70d6a71fc1cb
tree740a5680058b2a7a2ea539ee9768ed3eac4b109d
parente114cbffcc72bdfc6c2c1b6b39bb8bbabf17d8b8
librbd: make read_iterate iterate over periods

Object sizes no longer make sense since we are iterating over the logical
device image space, and the striping may make that unrelated to the size
of the individual objects.

Signed-off-by: Sage Weil <sage@inktank.com>
src/librbd/internal.cc