[v2,0/8] fs/9p: simplify inode lookup operations

Message ID 20240108-ericvh-fix-cache-dups-v2-0-a73f8822838c@kernel.org
Headers
Series fs/9p: simplify inode lookup operations |

Message

Eric Van Hensbergen Jan. 8, 2024, 3:18 p.m. UTC
  This patch series takes a pass on the inode lookup-related
operations and attempts to simplify the code path, eliminating
unnecessary and/or redundant code and/or protocol operations.

Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
---
Changes in v2:
- Fixed whitespace issues
- Switched QID2INO to use BITS_PER_LONG macro
- Fixed some vestigial inconsistency in inode number assignment between legacy and .L
- Link to v1: https://lore.kernel.org/r/20240106-ericvh-fix-cache-dups-v1-0-538c2074f363@kernel.org

---
Eric Van Hensbergen (8):
      fs/9p: switch vfsmount to use v9fs_get_new_inode
      fs/9p: convert mkdir to use get_new_inode
      fs/9p: remove walk and inode allocation from symlink
      fs/9p: Eliminate redundant non-cache path in mknod
      fs/9p: Eliminate now unused v9fs_get_inode
      fs/9p: rework qid2ino logic
      fs/9p: simplify iget to remove unnecessary paths
      fs/9p: fix dups even in uncached mode

 fs/9p/v9fs.h           |  31 ++------
 fs/9p/v9fs_vfs.h       |  11 ++-
 fs/9p/vfs_dir.c        |   4 +-
 fs/9p/vfs_inode.c      | 149 ++++++-------------------------------
 fs/9p/vfs_inode_dotl.c | 194 +++++++++----------------------------------------
 fs/9p/vfs_super.c      |  45 +-----------
 6 files changed, 71 insertions(+), 363 deletions(-)
---
base-commit: 0dd3ee31125508cd67f7e7172247f05b7fd1753a
change-id: 20240103-ericvh-fix-cache-dups-f0925afbbd21

Best regards,