-
- Downloads
fs/9p: track open fids
This patch adds accounting of open fids in a list hanging off the i_private field of the corresponding inode. This allows faster lookups compared to searching the full 9p client list. The lookup code is modified accordingly. Link: http://lkml.kernel.org/r/20200923141146.90046-3-jianyong.wu@arm.com Signed-off-by:Greg Kurz <gkurz@linux.vnet.ibm.com> Signed-off-by:
Jianyong Wu <jianyong.wu@arm.com> Signed-off-by:
Dominique Martinet <asmadeus@codewreck.org>
Showing
- fs/9p/fid.c 23 additions, 9 deletionsfs/9p/fid.c
- fs/9p/fid.h 1 addition, 0 deletionsfs/9p/fid.h
- fs/9p/vfs_dir.c 3 additions, 0 deletionsfs/9p/vfs_dir.c
- fs/9p/vfs_file.c 1 addition, 0 deletionsfs/9p/vfs_file.c
- fs/9p/vfs_inode.c 5 additions, 1 deletionfs/9p/vfs_inode.c
- fs/9p/vfs_inode_dotl.c 1 addition, 0 deletionsfs/9p/vfs_inode_dotl.c
- include/net/9p/client.h 1 addition, 0 deletionsinclude/net/9p/client.h
Loading
Please register or sign in to comment