zram: introduce per-device debug_stat sysfs node
[linux-2.6-microblaze.git] / drivers / block / zram / zram_drv.h
index 06b1636..3f5bf66 100644 (file)
@@ -85,6 +85,7 @@ struct zram_stats {
        atomic64_t zero_pages;          /* no. of zero filled pages */
        atomic64_t pages_stored;        /* no. of pages currently stored */
        atomic_long_t max_used_pages;   /* no. of maximum pages stored */
+       atomic64_t writestall;          /* no. of write slow paths */
 };
 
 struct zram_meta {