Messages in this thread | | | Date | Wed, 12 Apr 2023 07:14:52 -1000 | From | Tejun Heo <> | Subject | Re: [PATCH 2/2] blk-throttle: only enable blk-stat when BLK_DEV_THROTTLING_LOW |
| |
On Thu, Apr 13, 2023 at 12:07:54AM +0800, chengming.zhou@linux.dev wrote: > From: Chengming Zhou <zhouchengming@bytedance.com> > > blk_throtl_register() will unconditionally enable blk-stat for gendisk > when register, even when we have no BLK_DEV_THROTTLING_LOW config. > > Since the kernel always has only BLK_DEV_THROTTLING config and the > BLK_DEV_THROTTLING_LOW config is still in EXPERIMENTAL state, we can > just skip blk-stat when !BLK_DEV_THROTTLING_LOW. > > Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
-- tejun
| |