summaryrefslogtreecommitdiffstats
path: root/src/librbd/migration/StreamInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/librbd/migration/StreamInterface.h')
-rw-r--r--src/librbd/migration/StreamInterface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librbd/migration/StreamInterface.h b/src/librbd/migration/StreamInterface.h
index 782a9a5f8d5..52ded94ccad 100644
--- a/src/librbd/migration/StreamInterface.h
+++ b/src/librbd/migration/StreamInterface.h
@@ -24,6 +24,10 @@ struct StreamInterface {
virtual void read(io::Extents&& byte_extents, bufferlist* data,
Context* on_finish) = 0;
+
+ virtual void list_sparse_extents(io::Extents&& byte_extents,
+ io::SparseExtents* sparse_extents,
+ Context* on_finish) = 0;
};
} // namespace migration