Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1677730
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V4 03/12] kernfs: add an API to get kernfs node from inode number |
| Date | 2017-06-29 15:00 +0200 |
| Message-ID | <tXHd8-7Io-31@gated-at.bofh.it> (permalink) |
| References | <tXppV-t5-19@gated-at.bofh.it> <tXpq0-t5-117@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jun 28, 2017 at 09:29:53AM -0700, Shaohua Li wrote: > From: Shaohua Li <shli@fb.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@fb.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH V4 03/12] kernfs: add an API to get kernfs node from inode number Shaohua Li <shli@kernel.org> - 2017-06-28 20:00 +0200 Re: [PATCH V4 03/12] kernfs: add an API to get kernfs node from inode number Tejun Heo <tj@kernel.org> - 2017-06-28 20:10 +0200 Re: [PATCH V4 03/12] kernfs: add an API to get kernfs node from inode number Greg KH <gregkh@linuxfoundation.org> - 2017-06-29 15:00 +0200
csiph-web