commit | 07b0fdecb2477396bcb69609019aade2b22124a1 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Jul 16 07:58:31 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jul 16 10:06:39 2019 -0600 |
tree | b554d081cf839d5d04679b62db42decb4e0cc517 | |
parent | f7b76ac9d17e16e44feebb6d2749fec92bfd6dd4 [diff] |
blkcg: allow blkcg_policy->pd_stat() to print non-debug info too Currently, ->pd_stat() is called only when moduleparam blkcg_debug_stats is set which prevents it from printing non-debug policy-specific statistics. Let's move debug testing down so that ->pd_stat() can print non-debug stat too. This patch doesn't cause any visible behavior change. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>