Util-Linux package development
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Oliver Freyermuth <o.freyermuth@googlemail.com>
Cc: util-linux@vger.kernel.org
Subject: Re: [Regression] util-linux-2.27: zramctl lists same info for all devices (DATA COMPR TOTAL)
Date: Thu, 24 Sep 2015 12:49:32 +0200	[thread overview]
Message-ID: <20150924104932.GC1787@ws.net.home> (raw)
In-Reply-To: <55EDD791.30606@googlemail.com>

On Mon, Sep 07, 2015 at 08:29:37PM +0200, Oliver Freyermuth wrote:
> I guess it is related to commit
> 5388c862607ec4f25f3e7ad23ab858b696bde1a1 .  It parses mmstat and
> fills in z->mm_stat and z->mm_stat_probed only the first time
> get_mm_stat is called. Since the codes reuses the very same
> zram-struct "z" afterwards and z->mm_stat is never freed (and
> z->mm_stat_probed is never reset), only the first device is every
> queried. 

Yes, fixed (will be in v2.27.1). Thanks for your report!

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

      reply	other threads:[~2015-09-24 10:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-07 18:29 [Regression] util-linux-2.27: zramctl lists same info for all devices (DATA COMPR TOTAL) Oliver Freyermuth
2015-09-24 10:49 ` Karel Zak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150924104932.GC1787@ws.net.home \
    --to=kzak@redhat.com \
    --cc=o.freyermuth@googlemail.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox