[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170628181256.GC24647@htj.duckdns.org>
Date: Wed, 28 Jun 2017 14:12:56 -0400
From: Tejun Heo <tj@...nel.org>
To: Shaohua Li <shli@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
gregkh@...uxfoundation.org, hch@....de, axboe@...com,
rostedt@...dmis.org, lizefan@...wei.com, Kernel-team@...com,
Shaohua Li <shli@...com>
Subject: Re: [PATCH V4 07/12] cgroup: export fhandle info for a cgroup
On Wed, Jun 28, 2017 at 09:29:57AM -0700, Shaohua Li wrote:
> From: Shaohua Li <shli@...com>
>
> Add an API to export cgroup fhandle info. We don't export a full 'struct
> file_handle', there are unrequired info. Sepcifically, cgroup is always
> a directory, so we don't need a 'FILEID_INO32_GEN_PARENT' type fhandle,
> we only need export the inode number and generation number just like
> what generic_fh_to_dentry does. And we can avoid the overhead of getting
> an inode too, since kernfs_node_id (ino and generation) has all the info
> required.
>
> Signed-off-by: Shaohua Li <shli@...com>
Acked-by: Tejun Heo <tj@...nel.org>
Thanks.
--
tejun
Powered by blists - more mailing lists