lkml.org 
[lkml]   [2016]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 27/33] x86/intel_rdt_rdtgroup.c: Implement resctrl file system commands
On Thu, Sep 08, 2016 at 02:57:21AM -0700, Fenghua Yu wrote:
> /*
> * kernfs_root - find out the kernfs_root a kernfs_node belongs to
> @@ -730,6 +749,110 @@ static void rdtgroup_destroy_locked(struct rdtgroup *rdtgrp)
> kernfs_remove(rdtgrp->kn);
> }
>
> +static int rdtgroup_mkdir(struct kernfs_node *parent_kn, const char *name,
> + umode_t mode)
> +{
> + struct rdtgroup *parent, *rdtgrp;
> + struct rdtgroup_root *root;
> + struct kernfs_node *kn;
> + int ret;
> +
> + if (parent_kn != root_rdtgrp->kn)
> + return -EPERM;
> +

So we can't create nested groups. Is this limitation temporary? I don't see
this is mentioned in the interface document.

Thanks,
Shaohua

\
 
 \ /
  Last update: 2016-09-17 09:58    [W:0.341 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site