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

From: Eric Van Hensbergen
Date: Mon Jan 08 2024 - 10:18:35 EST


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@xxxxxxxxxx>
---
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@xxxxxxxxxx

---
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,
--
Eric Van Hensbergen <ericvh@xxxxxxxxxx>