[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170628180704.GA24647@htj.duckdns.org>
Date: Wed, 28 Jun 2017 14:07:04 -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 03/12] kernfs: add an API to get kernfs node from
inode number
On Wed, Jun 28, 2017 at 09:29:53AM -0700, Shaohua Li wrote:
> From: Shaohua Li <shli@...com>
>
> Add an API to get kernfs node from inode number. We will need this to
> implement exportfs operations.
>
> This API will be used in blktrace too later, so it should be as fast as
> possible. To make the API lock free, kernfs node is freed in RCU
> context. And we depend on kernfs_node count/ino number to filter out
> stale kernfs nodes.
>
> Signed-off-by: Shaohua Li <shli@...com>
Acked-by: Tejun Heo <tj@...nel.org>
Thanks.
--
tejun
Powered by blists - more mailing lists