Skip to content

more on vfs-scale and vfs-automount

Ian Kent linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vfs - check non-mountpoint dentry might block in __follow_mount_rcu()fs/namei.c+20 -40 replies
2/4autofs4 - fix rootless multi-mount racefs/autofs4/expire.c fs/autofs4/root.c+6 -270 replies
3/4autofs4 - fix dentry leak in autofs4_expire_direct()fs/autofs4/expire.c+3 -40 replies
4/4autofs4 - fix autofs4_expire_indirect() traversalfs/autofs4/expire.c+51 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] more on vfs-scale and vfs-automount

I've put quite a bit of time into testing 2.6.38-rc and, given the time frame, and update is needed. The included patch series much improves the behaviour of autofs under load.

I first thought the dentry leak you found was not the cause of the BUG() I was seeing but that appears to not be the case. I'm not seeing the BUG() at shutdown when umounting any more.

I am still seeing occassional incorrect ENOENT returns. They must be comming from the VFS or the daemon as I've changed almost all the ENOENT returns in the autofs module to identify where it's comming from.

Anyway, all, please review.

---

Ian Kent (4):
autofs4 - fix autofs4_expire_indirect() traversal
autofs4 - fix dentry leak in autofs4_expire_direct() autofs4 - fix rootless multi-mount race
vfs - check non-mountpoint dentry might block in __follow_mount_rcu()

 fs/autofs4/expire.c |   72 ++++++++++++++++++++++++++++++++++++++++-----------
 fs/autofs4/root.c   |   20 +++-----------
 fs/namei.c          |   24 ++++++++++++++---
 3 files changed, 80 insertions(+), 36 deletions(-)
Signature · 1 line
Ian