Update disk cache usage tracking to handle sparse files.
[bluesky.git] / bluesky / bluesky-private.h
index b064465..7735a91 100644 (file)
@@ -382,6 +382,7 @@ struct BlueSkyCacheFile {
     gint mapcount;              // References to the mmaped data
     const char *addr;           // May be null if data is not mapped in memory
     size_t len;
+    int disk_used;
     BlueSkyFS *fs;
     BlueSkyLog *log;
     gboolean fetching, ready;   // Cloud data: downloading or ready for use