Re: [PATCH v13 21/32] fs/resctrl: Refactor mkdir_mondata_subdir()

Reinette Chatre
2025-11-13T22:48:10Z

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@intel.com>
> Signed-off-by: Tony Luck <tony.luck@intel.com>
> ---

Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>

Reinette