]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: tell client if we truncate results
authorSage Weil <sage@redhat.com>
Sun, 15 Jan 2017 04:23:11 +0000 (23:23 -0500)
committerSage Weil <sage@redhat.com>
Thu, 19 Jan 2017 21:59:30 +0000 (15:59 -0600)
commitd6dcf417c27a0b7209076477fa892fb010670dfc
tree25d2d360b79e5874b9308266f973b14192cf80c0
parent5db320ce93a335015bf5e2b77ff234e44c764b9a
osd/PrimaryLogPG: tell client if we truncate results

If we truncate the results of the omap read commands,
provide a flag so that the caller knows there is more
to be read.  We don't need to provide the name of the
next key because the interface is defined as
"start_after" (not "start_with"), allowing them to use
the last key they received.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PrimaryLogPG.cc