On (10/10/19 23:11), Vitaly Wool wrote: [..] > +static unsigned long zs_zpool_get_compacted(void *pool) > +{ > + struct zs_pool_stats stats; > + > + zs_pool_stats(pool, &stats); > + return stats.pages_compacted; > +} So zs_pool_stats() can become static? -ss