| commit | 987a64850996db22bbcf2c1d0a051446a343fa2c | [log] [tgz] |
|---|---|---|
| author | Greg Kurz <gkurz@linux.vnet.ibm.com> | Wed Sep 23 22:11:44 2020 +0800 |
| committer | Dominique Martinet <asmadeus@codewreck.org> | Tue Nov 03 09:29:46 2020 +0100 |
| tree | 70596e685ff828cc5225956c3426d5f559eb5f28 | |
| parent | 154372e67d4053e56591245eb413686621941333 [diff] |
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>