Re: [PATCH v13 21/32] fs/resctrl: Refactor mkdir_mondata_subdir()
From: Reinette Chatre
Date: Thu Nov 13 2025 - 17:48:10 EST
Hi Tony,
On 10/29/25 9:21 AM, Tony Luck wrote:
> Population of a monitor group's mon_data directory is unreasonably complicated
> because of the support for Sub-NUMA Cluster (SNC) mode.
>
> Split out the SNC code into a helper function to make it easier to add support
> for a new telemetry resource.
>
> Move all the duplicated code to make and set owner of domain directories
> into the mon_add_all_files() helper and rename to _mkdir_mondata_subdir().
>
> Suggested-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
> ---
Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>
Reinette