Thread (7 messages) flat view 7 messages, 3 authors, 2021-06-17

Re: [PATCH 2/2] ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit

From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-06-17 20:17:20

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help