aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorNick Piggin <npiggin@kernel.dk>2011-01-07 01:50:07 -0500
committerNick Piggin <npiggin@kernel.dk>2011-01-07 01:50:32 -0500
commit4b936885ab04dc6e0bb0ef35e0e23c1a7364d9e5 (patch)
treea0173d27c1ce39f173be404d269c2f15144072ab /include/linux/dcache.h
parent873feea09ebc980cbd3631b767356ce1eee65ec1 (diff)
fs: improve scalability of pseudo filesystems
Regardless of how much we possibly try to scale dcache, there is likely always going to be some fundamental contention when adding or removing children under the same parent. Pseudo filesystems do not seem need to have connected dentries because by definition they are disconnected. Signed-off-by: Nick Piggin <npiggin@kernel.dk>
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r--include/linux/dcache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index d719e4de8046..c0a2ca97c72f 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -211,6 +211,7 @@ extern void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op
211 211
212/* allocate/de-allocate */ 212/* allocate/de-allocate */
213extern struct dentry * d_alloc(struct dentry *, const struct qstr *); 213extern struct dentry * d_alloc(struct dentry *, const struct qstr *);
214extern struct dentry * d_alloc_pseudo(struct super_block *, const struct qstr *);
214extern struct dentry * d_splice_alias(struct inode *, struct dentry *); 215extern struct dentry * d_splice_alias(struct inode *, struct dentry *);
215extern struct dentry * d_add_ci(struct dentry *, struct inode *, struct qstr *); 216extern struct dentry * d_add_ci(struct dentry *, struct inode *, struct qstr *);
216extern struct dentry * d_obtain_alias(struct inode *); 217extern struct dentry * d_obtain_alias(struct inode *);