diff options
author | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 01:50:07 -0500 |
---|---|---|
committer | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 01:50:32 -0500 |
commit | 4b936885ab04dc6e0bb0ef35e0e23c1a7364d9e5 (patch) | |
tree | a0173d27c1ce39f173be404d269c2f15144072ab /include/linux/dcache.h | |
parent | 873feea09ebc980cbd3631b767356ce1eee65ec1 (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.h | 1 |
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 */ |
213 | extern struct dentry * d_alloc(struct dentry *, const struct qstr *); | 213 | extern struct dentry * d_alloc(struct dentry *, const struct qstr *); |
214 | extern struct dentry * d_alloc_pseudo(struct super_block *, const struct qstr *); | ||
214 | extern struct dentry * d_splice_alias(struct inode *, struct dentry *); | 215 | extern struct dentry * d_splice_alias(struct inode *, struct dentry *); |
215 | extern struct dentry * d_add_ci(struct dentry *, struct inode *, struct qstr *); | 216 | extern struct dentry * d_add_ci(struct dentry *, struct inode *, struct qstr *); |
216 | extern struct dentry * d_obtain_alias(struct inode *); | 217 | extern struct dentry * d_obtain_alias(struct inode *); |