linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Zhang Yi <yi.zhang@huawei.com>
Cc: linux-ext4@vger.kernel.org, adilger.kernel@dilger.ca,
	jack@suse.cz, yukuai3@huawei.com
Subject: Re: [PATCH 2/2] ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit
Date: Thu, 17 Jun 2021 16:17:09 -0400	[thread overview]
Message-ID: <YMutxd+XRqLnvnrj@mit.edu> (raw)
In-Reply-To: <20210522103045.690103-3-yi.zhang@huawei.com>

On Sat, May 22, 2021 at 06:30:45PM +0800, Zhang Yi wrote:
> The cache_cnt parameter of tracepoint ext4_es_shrink_exit means the
> remaining cache count after shrink, but now it is the cache count before
> shrink, fix it by read sbi->s_extent_cache_cnt again.
> 
> Fixes: 1ab6c4997e04 ("fs: convert fs shrinkers to new scan/count API")
> Cc: stable@vger.kernel.org # 3.12+
> Signed-off-by: Zhang Yi <yi.zhang@huawei.com>

Thanks, applied.

				- Ted

      parent reply	other threads:[~2021-06-17 20:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-22 10:30 [PATCH 0/2] ext4: fix two minor mistakes in ext4_es_scan() Zhang Yi
2021-05-22 10:30 ` [PATCH 1/2] ext4: remove check for zero nr_to_scan " Zhang Yi
2021-05-24  9:51   ` Jan Kara
2021-06-17 20:16   ` Theodore Ts'o
2021-05-22 10:30 ` [PATCH 2/2] ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit Zhang Yi
2021-05-24  9:54   ` Jan Kara
2021-06-17 20:17   ` Theodore Ts'o [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=YMutxd+XRqLnvnrj@mit.edu \
    --to=tytso@mit.edu \
    --cc=adilger.kernel@dilger.ca \
    --cc=jack@suse.cz \
    --cc=linux-ext4@vger.kernel.org \
    --cc=yi.zhang@huawei.com \
    --cc=yukuai3@huawei.com \
    /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;
as well as URLs for NNTP newsgroup(s).