]> git.proxmox.com Git - qemu.git/blobdiff - block_int.h
Version 1.0.1
[qemu.git] / block_int.h
index 1ec4921cc6f48e65fd4d8af6ebac2e10e5203fa3..77c0187c3d3ad287eb7f90385094acdd751a1c6f 100644 (file)
@@ -87,6 +87,11 @@ struct BlockDriver {
     int coroutine_fn (*bdrv_co_discard)(BlockDriverState *bs,
         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()).