vfs: dont chain pipe/anon/socket on superblock s_inodes list
commita209dfc7b0d94bd6fa94553c097836a2e6d0f0ba
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 26 Jul 2011 09:36:34 +0000 (26 11:36 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 16:57:09 +0000 (26 12:57 -0400)
tree7dacc92b08264c675a0dfcbae83982b7d3ad5135
parent5b9f4567726513a359e70f85029482c7c3714dbd
vfs: dont chain pipe/anon/socket on superblock s_inodes list

Workloads using pipes and sockets hit inode_sb_list_lock contention.

superblock s_inodes list is needed for quota, dirty, pagecache and
fsnotify management. pipe/anon/socket fs are clearly not candidates for
these.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/anon_inodes.c
fs/inode.c
fs/pipe.c
include/linux/fs.h
net/socket.c