Messages in this thread | | | Date | Thu, 2 Mar 2023 18:49:44 +0000 | From | Matthew Wilcox <> | Subject | Re: [PATCH 3/3] kernfs: change kernfs_rename_lock into a read-write lock. |
| |
On Thu, Mar 02, 2023 at 03:32:03PM +1100, Imran Khan wrote: > kernfs_rename_lock protects a node's ->parent and thus kernfs topology. > Thus it can be used in cases that rely on a stable kernfs topology. > Change it to a read-write lock for better scalability. > > Suggested by: Al Viro <viro@zeniv.linux.org.uk> > Signed-off-by: Imran Khan <imran.f.khan@oracle.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
| |