You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
+1
-1
@@ -467,7 +467,7 @@ static struct socket *sock_alloc(void)
|
||||
struct inode *inode;
|
||||
struct socket *sock;
|
||||
|
||||
inode = new_inode(sock_mnt->mnt_sb);
|
||||
inode = new_inode_pseudo(sock_mnt->mnt_sb);
|
||||
if (!inode)
|
||||
return NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user