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
Reply to
Zhang Yi, 2021-05-22
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: <redacted> # 3.12+
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Thanks, applied.

				- Ted
Thread (7 messages) 7 messages, 3 authors, last reply 2021-06-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help