diff options
Diffstat (limited to 'block_int.h')
-rw-r--r-- | block_int.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/block_int.h b/block_int.h index 1ec4921cc6..77c0187c3d 100644 --- a/block_int.h +++ b/block_int.h @@ -88,6 +88,11 @@ struct BlockDriver { int64_t sector_num, int nb_sectors); /* + * Invalidate any cached meta-data. + */ + void (*bdrv_invalidate_cache)(BlockDriverState *bs); + + /* * Flushes all data that was already written to the OS all the way down to * the disk (for example raw-posix calls fsync()). */ |