Skip to content

Teach autofs about RCU-walk

NeilBrown autofs lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6autofs4: allow RCU-walk to walk through autofs4.fs/autofs4/autofs_i.h fs/autofs4/dev-ioctl.c fs/autofs4/expire.c +1 more+34 -180 replies
2/6autofs4: factor should_expire() out of autofs4_expire_indirect.fs/autofs4/expire.c+88 -740 replies
3/6autofs4: make "autofs4_can_expire" idempotent.fs/autofs4/expire.c+4 -60 replies
4/6autofs4: avoid taking fs_lock during rcu-walkfs/autofs4/autofs_i.h fs/autofs4/expire.c+42 -80 replies
5/6autofs4: d_manage() should return -EISDIR when appropriate in rcu-walk mode.fs/autofs4/root.c+20 -60 replies
6/6autofs: the documentation I wanted to readDocumentation/filesystems/autofs4.txt+520 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchIan KentRandy Dunlap
1/6R-b T-b
2/6R-b T-b
3/6R-b T-b
4/6R-b T-b
5/6R-b T-b
6/6A-b Copy-edited-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Teach autofs about RCU-walk

Hi Andrew,
this series teaches autofs about RCU-walk so that we don't drop straight into REF-walk when we hit an autofs directory, and so that we avoid spinlocks as much as possible when performing an RCU-walk.

This is needed so that the benefits of the recent NFS support for RCU-walk are fully available when NFS filesystems are automounted.

Patches have been carefully reviewed and tested both with test suites and in production - thanks a lot to Ian Kent for his support there.

If they could be queued for 3.18, I would appreciate it.

Thanks,
NeilBrown

---

NeilBrown (6):
autofs4: allow RCU-walk to walk through autofs4.
autofs4: factor should_expire() out of autofs4_expire_indirect.
autofs4: make "autofs4_can_expire" idempotent.
autofs4: avoid taking fs_lock during rcu-walk
autofs4: d_manage() should return -EISDIR when appropriate in rcu-walk mode.
autofs: the documentation I wanted to read

 Documentation/filesystems/autofs4.txt |  520 +++++++++++++++++++++++++++++++++
 fs/autofs4/autofs_i.h                 |    6 
 fs/autofs4/dev-ioctl.c                |    2 
 fs/autofs4/expire.c                   |  210 ++++++++-----
 fs/autofs4/root.c                     |   62 +++-
 5 files changed, 698 insertions(+), 102 deletions(-)
 create mode 100644 Documentation/filesystems/autofs4.txt
Signature · 1 line
Signature