summaryrefslogtreecommitdiffstats
path: root/include/block/block-io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/block/block-io.h')
-rw-r--r--include/block/block-io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/block/block-io.h b/include/block/block-io.h
index b099d7db45..8866258282 100644
--- a/include/block/block-io.h
+++ b/include/block/block-io.h
@@ -126,6 +126,9 @@ int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi);
ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs,
Error **errp);
BlockStatsSpecific *bdrv_get_specific_stats(BlockDriverState *bs);
+#ifdef CONFIG_BDRV_CLUSTER_INFO
+ int bdrv_get_cluster_info(BlockDriverState *bs, uint64_t offset);
+#endif
void bdrv_round_to_clusters(BlockDriverState *bs,
int64_t offset, int64_t bytes,
int64_t *cluster_offset,